Merge pull request #400 from danielyxie/dev

Fixed bug with calling scp() on an array
This commit is contained in:
danielyxie 2018-07-29 15:15:37 -05:00 committed by GitHub
commit d0cb42b359
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

@ -199,7 +199,7 @@ function startNetscript1Script(workerScript) {
});
}
int.setProperty(scope, name, int.createAsyncFunction(tempWrapper));
} else if (name === "sprintf" || name === "vsprintf") {
} else if (name === "sprintf" || name === "vsprintf" || name === "scp") {
let tempWrapper = function() {
let fnArgs = [];