mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2024-11-22 08:20:11 +00:00
Fix global leak.
This commit is contained in:
parent
342b960f63
commit
b961fd1c07
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user