mirror of
https://github.com/engineer-man/piston.git
synced 2025-05-01 17:36:28 +02:00
api: fix bugs introduced in code cleanup
This commit is contained in:
parent
4732681864
commit
49c761311b
2 changed files with 7 additions and 7 deletions
|
@ -129,11 +129,11 @@ function make_default_config(){
|
|||
content.concat(option.desc.split('\n').map(x=>`# ${x}`));
|
||||
|
||||
if(option.options)
|
||||
content.append('# Options: ' + option.options.join(', '));
|
||||
content.push('# Options: ' + option.options.join(', '));
|
||||
|
||||
content.append(`${option.key}: ${option.default}`);
|
||||
|
||||
content.append(''); // New line between
|
||||
content.push(`${option.key}: ${option.default}`);
|
||||
|
||||
content.push(''); // New line between
|
||||
});
|
||||
|
||||
return content.join('\n');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue