Skip to content

Commit a023ac5

Browse files
author
Sergii Kovalev
committed
code style fixes
1 parent 9de3114 commit a023ac5

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

.eslintrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ rules:
2424
linebreak-style:
2525
- error
2626
- unix
27+
no-trailing-spaces: error
2728
semi:
2829
- error
2930
- always

lib/deferredOutputs.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ module.exports = {
1717

1818
/**
1919
* Register a deferred output
20-
* @param {string} sourceOutput
21-
* @param {Object} targetObject
22-
* @param {string} targetPropertyName
20+
* @param {string} sourceOutput
21+
* @param {Object} targetObject
22+
* @param {string} targetPropertyName
2323
*/
2424
addDeferredOutput(sourceOutput, targetObject, targetPropertyName) {
2525
this.options.verbose && this.serverless.cli.log(`Register deferred output ${sourceOutput} -> ${targetPropertyName}`);

lib/removeAlias.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ module.exports = {
221221
this._serverless.cli.log('noDeploy option active - will do nothing');
222222
return BbPromise.resolve();
223223
}
224-
224+
225225
this._masterAlias = currentTemplate.Outputs.MasterAliasName.Value;
226226
if (this._stage && this._masterAlias === this._alias) {
227227
// Removal of the master alias is requested -> check if any other aliases are still deployed.

lib/stackInformation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ module.exports = {
176176

177177
const currentAliasStackTemplate = _.get(_.first(removed), 'template', {});
178178
const deployedAliasStackTemplates = _.map(filteredAliasStackTemplates, template => template.template);
179-
179+
180180
this._serverless.service.provider.deployedCloudFormationTemplate = currentTemplate;
181181
this._serverless.service.provider.deployedCloudFormationAliasTemplate = currentAliasStackTemplate;
182182
this._serverless.service.provider.deployedAliasTemplates = filteredAliasStackTemplates;

0 commit comments

Comments
 (0)