ts 2.1 refactoring + first runtime test

This commit is contained in:
sanex3339
2016-12-08 19:17:17 +03:00
parent 243919f02d
commit 4b3bc9b81b
46 changed files with 725 additions and 346 deletions
+4 -1
View File
@@ -136,7 +136,10 @@ export class JavaScriptObfuscatorCLI {
(<any>inputOptions)[option] = (<any>this.commands)[option];
}
return Object.assign({}, DEFAULT_PRESET, inputOptions);
return {
...DEFAULT_PRESET,
...inputOptions
};
}
private configureCommands (): void {