Skip to content

Commit ad5aa09

Browse files
committed
Fix for support Node.JS >=8
1 parent 0298094 commit ad5aa09

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
"@babel/core": "^7.1.6",
6464
"@babel/plugin-proposal-class-properties": "^7.1.0",
6565
"@babel/plugin-transform-classes": "^7.1.0",
66-
"@types/node": "^10",
66+
"@types/node": "^8",
6767
"babel-eslint": "^10.0.1",
6868
"babel-loader": "^8.0.4",
6969
"babel-preset-env": "^1.7.0",

src/project/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ export default class ProjectConfig {
127127
get(section, option, default_ = undefined) {
128128
try {
129129
return this.getraw(section, option);
130-
} catch {
130+
} catch (err) {
131131
return default_;
132132
}
133133
}

0 commit comments

Comments
 (0)