Skip to content

Commit 1945313

Browse files
committed
Merge pull request #663 from ParsePlatform/flovilmart.hotfix#659
sets defaults value to options for Type error in CLI
2 parents 839f6b7 + fa729c5 commit 1945313

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cli/parse-server.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ program.on('--help', function(){
3434

3535
program.parse(process.argv, process.env);
3636

37-
let options;
37+
let options = {};
3838
if (program.args.length > 0 ) {
3939
let jsonPath = program.args[0];
4040
jsonPath = path.resolve(jsonPath);

0 commit comments

Comments
 (0)