Skip to content

Commit 70a8d43

Browse files
author
Sergey Armodin
committed
fixes
1 parent c133350 commit 70a8d43

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

gulpfile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ gulp.task('lint', function () {
1010
.pipe(eslint(
1111
{
1212
"parserOptions": {
13-
"ecmaVersion": 6,
13+
"ecmaVersion": 8,
1414
"sourceType": "module",
1515
"ecmaFeatures": {
1616
"jsx": true
@@ -24,7 +24,7 @@ gulp.task('lint', function () {
2424
"no-invalid-this" : 2,
2525
"no-multi-spaces" : 2,
2626
"no-unmodified-loop-condition" : 2,
27-
"no-unused-expressions" : 2,
27+
"no-unused-expressions" : 1,
2828
"no-unused-labels" : 2,
2929
"no-shadow" : 2,
3030
"no-unused-vars" : 1,

lib/release_bot.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,8 +271,8 @@ class ReleaseBot {
271271
try {
272272
const result = await self.findBundleInResults(searchResults, bundleToSearch);
273273
resolve( new SearchResult(result) );
274-
} catch (error) {
275-
reject(error);
274+
} catch (searchError) {
275+
reject(searchError);
276276
}
277277
} else {
278278
resolve([searchResults, appObject]);

0 commit comments

Comments
 (0)