1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2024-12-23 05:37:23 +00:00

Fix global leak.

This commit is contained in:
hacksalot 2016-01-11 21:14:40 -05:00
parent 342b960f63
commit b961fd1c07

View File

@ -170,7 +170,7 @@ Definition of the `main` function.
return v === '-o' || v === '--options' || v === '--opts';
});
if(optsIdx !== -1) {
optStr = cleanArgs[ optsIdx + 1];
var optStr = cleanArgs[ optsIdx + 1];
args.splice( optsIdx + 2, 2 );
if( optStr && (optStr = optStr.trim()) ) {
//var myJSON = JSON.parse(optStr);