mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
Fix linting
This commit is contained in:
parent
20dee7cb1c
commit
0f86a9524e
@ -142,7 +142,7 @@ class AwsCompileFunctions {
|
||||
hash.end();
|
||||
|
||||
newVersion.Properties.CodeSha256 = hash.read();
|
||||
newVersion.Properties.FunctionName = { 'Ref': functionLogicalId };
|
||||
newVersion.Properties.FunctionName = { Ref: functionLogicalId };
|
||||
|
||||
const normalSha = newVersion.Properties.CodeSha256.replace(/[^0-9a-z]/gi, '');
|
||||
|
||||
@ -168,7 +168,7 @@ class AwsCompileFunctions {
|
||||
newOutputObject);
|
||||
|
||||
const newVersionOutput = this.cfOutputLatestVersionTemplate();
|
||||
newVersionOutput.Value = { 'Ref': versionLogicalId };
|
||||
newVersionOutput.Value = { Ref: versionLogicalId };
|
||||
|
||||
_.merge(this.serverless.service.provider.compiledCloudFormationTemplate.Outputs, {
|
||||
[`${functionLogicalId}QualifiedArn`]: newVersionOutput,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user