Skip to content

Commit 34afa32

Browse files
committed
fix eslint error
1 parent b6d9668 commit 34afa32

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

shared/utils.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ module.exports = {
77
setDefaults() {
88
this.options.stage = _.get(this, 'options.stage')
99
|| 'dev';
10-
11-
// serverless framework is hard-coding us-east-1 region from aws
10+
11+
// serverless framework is hard-coding us-east-1 region from aws
1212
// this is temporary fix for multiple regions
1313
const region = _.get(this, 'options.region')
1414
|| _.get(this, 'serverless.service.provider.region');
1515

16-
this.options.region = (!region || region === 'us-east-1')
16+
this.options.region = (!region || region === 'us-east-1')
1717
? 'us-central1' : region;
1818

1919
return BbPromise.resolve();

shared/utils.test.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,5 @@ describe('Utils', () => {
4242
expect(googleCommand.options.region).toEqual('my-region');
4343
});
4444
});
45-
4645
});
4746
});

0 commit comments

Comments
 (0)