Skip to content
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.

Commit

Permalink
Merge pull request #202 from ACloudGuru/fix/devops/package_updates
Browse files Browse the repository at this point in the history
Package updates and linting fixes for upcoming release
  • Loading branch information
scub authored Oct 27, 2021
2 parents fcb0672 + 0a534f6 commit f8656a1
Show file tree
Hide file tree
Showing 5 changed files with 2,406 additions and 2,110 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
"author": "John McKim <john@acloud.guru>",
"license": "MIT",
"dependencies": {
"lodash.merge": "^4.6.2",
"lodash.isstring": "^4.0.1",
"lodash.isobject": "^3.0.2",
"lodash.isstring": "^4.0.1",
"lodash.merge": "^4.6.2",
"lodash.union": "^4.6.0",
"lodash.upperfirst": "^4.3.1"
},
Expand All @@ -35,7 +35,7 @@
"eslint-plugin-jest": "^24.1.3",
"eslint-plugin-prettier": "^3.3.1",
"husky": "^5.0.9",
"jest": "^19.0.2",
"jest": "^27.3.1",
"pinst": "^2.1.4",
"prettier": "^2.2.1"
},
Expand Down
4 changes: 2 additions & 2 deletions src/dashboards/index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
const widgetFactory = require('./widgets/factory');

const dashboards = {
default: require('./configs/default'),
vertical: require('./configs/vertical'),
default: require('./configs/default.json'),
vertical: require('./configs/vertical.json'),
};

const createDashboard = (service, stage, region, functions, name) => {
Expand Down
9 changes: 5 additions & 4 deletions src/external-stack.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,9 @@ class ExternalStack {
const refName = resource[key];
if (!preMergedResources[refName]) {
// It's an unresolved reference. Try to find it in the main stack.
const mainResource = this.serverless.service.provider
.compiledCloudFormationTemplate.Resources[refName];
const mainResource =
this.serverless.service.provider.compiledCloudFormationTemplate
.Resources[refName];
if (
mainResource &&
mainResource.Properties &&
Expand Down Expand Up @@ -374,8 +375,8 @@ class ExternalStack {
ContentType: 'application/json',
};

const deploymentBucketObject = this.serverless.service.provider
.deploymentBucketObject;
const deploymentBucketObject =
this.serverless.service.provider.deploymentBucketObject;
if (deploymentBucketObject) {
params = this.setServersideEncryptionOptions(
params,
Expand Down
5 changes: 2 additions & 3 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -401,9 +401,8 @@ class AlertsPlugin {
this.serverless.service.getAllFunctions().forEach((functionName) => {
const functionObj = this.serverless.service.getFunction(functionName);

const normalizedFunctionName = this.providerNaming.getLambdaLogicalId(
functionName
);
const normalizedFunctionName =
this.providerNaming.getLambdaLogicalId(functionName);

const functionAlarms = this.getFunctionAlarms(
functionObj,
Expand Down
Loading

0 comments on commit f8656a1

Please sign in to comment.