fix(basic.gblib): COPY and CONVERT fixed.
This commit is contained in:
parent
d60b8b629f
commit
30f3b36469
1 changed files with 2 additions and 2 deletions
|
@ -290,11 +290,11 @@ export class GBVMService extends GBService {
|
|||
});
|
||||
|
||||
code = code.replace(/(copy)(\s*)(.*)/gi, ($0, $1, $2, $3) => {
|
||||
return `sys().copyFile(step, ${$3})\n`;
|
||||
return `sys().copyFile(${$3})\n`;
|
||||
});
|
||||
|
||||
code = code.replace(/(convert)(\s*)(.*)/gi, ($0, $1, $2, $3) => {
|
||||
return `sys().convert(step, ${$3})\n`;
|
||||
return `sys().convert(${$3})\n`;
|
||||
});
|
||||
|
||||
code = code.replace(/(save)(\s)(.*)/gi, ($0, $1, $2, $3) => {
|
||||
|
|
Loading…
Add table
Reference in a new issue