mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
bump to fix CI
This commit is contained in:
parent
9ce0dea165
commit
7fd01a4e21
@ -83,7 +83,7 @@ class Utils {
|
||||
if (filePath.endsWith('.json')) {
|
||||
contents = JSON.parse(contents);
|
||||
} else if (filePath.endsWith('.yml') || filePath.endsWith('.yaml')) {
|
||||
contents = YAML.load(contents.toString(), { filename: filePath });
|
||||
contents = YAML.load(contents.toString(), {filename: filePath});
|
||||
} else {
|
||||
contents = contents.toString().trim();
|
||||
}
|
||||
@ -218,7 +218,7 @@ class Utils {
|
||||
const name = Object.keys(event)[0];
|
||||
funcEventsArray.push(name);
|
||||
|
||||
const alreadyPresentEvent = _.find(numberOfEventsPerType, { name });
|
||||
const alreadyPresentEvent = _.find(numberOfEventsPerType, {name});
|
||||
if (alreadyPresentEvent) {
|
||||
alreadyPresentEvent.count++;
|
||||
} else {
|
||||
|
||||
@ -68,7 +68,7 @@ module.exports = {
|
||||
|
||||
if (funcPackageConfig.artifact) {
|
||||
if (process.env.SLS_DEBUG) {
|
||||
this.serverless.cli.log(`package.artifact is defined, skipping packaging`);
|
||||
this.serverless.cli.log('package.artifact is defined, skipping packaging');
|
||||
}
|
||||
|
||||
functionObject.artifact = funcPackageConfig.artifact;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user