sets defaults value to options

This commit is contained in:
Florent Vilmart
2016-02-25 19:07:17 -05:00
parent e5b1d50343
commit fa729c5c18

View File

@@ -34,7 +34,7 @@ program.on('--help', function(){
program.parse(process.argv, process.env);
let options;
let options = {};
if (program.args.length > 0 ) {
let jsonPath = program.args[0];
jsonPath = path.resolve(jsonPath);