1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2024-06-30 23:40:05 +01: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);