Skip to content

Commit cd72553

Browse files
committed
fix(store): don't error if config isn't found
It will be created on the first set
1 parent e89e28a commit cd72553

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/ionic/store.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@ function IonicStore(fileName) {
2323

2424
try {
2525
this.data = JSON.parse(fs.readFileSync(this.filePath));
26-
} catch (e) {
27-
throw e;
28-
}
26+
} catch (e) {} // eslint-disable-line no-empty
2927

3028
return this;
3129
}

0 commit comments

Comments
 (0)