Skip to content

Commit 931e541

Browse files
author
Aleksander Dikanski
committed
Fix intendation
1 parent 6c66070 commit 931e541

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/stackops/apiGateway.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ module.exports = function(currentTemplate, aliasStackTemplates, currentAliasStac
225225
const authorizerType = _.get(authorizer, 'Properties.Type');
226226
if (authorizerType === 'TOKEN' || authorizerType === 'REQUEST') {
227227
const uriParts = authorizer.Properties.AuthorizerUri['Fn::Join'][1];
228-
const funcIndex = _.findIndex(uriParts, part =>
228+
const funcIndex = _.findIndex(uriParts, part =>
229229
_.has(part, 'Fn::GetAtt') || _.startsWith(part, 'arn:aws:lambda'));
230230

231231
// Use the SERVERLESS_ALIAS stage variable to determine the called function alias
@@ -288,7 +288,7 @@ module.exports = function(currentTemplate, aliasStackTemplates, currentAliasStac
288288
}
289289

290290
// Add dependency on function version
291-
permission.DependsOn = _.compact([ versionName, aliasName ]);
291+
permission.DependsOn = _.compact([ versionName, aliasName ]);
292292

293293
delete stageStack.Resources[name];
294294
});

0 commit comments

Comments
 (0)