serverless-enable-api-logs
Advanced tools
Comparing version 1.1.0 to 2.0.0
@@ -15,4 +15,3 @@ { | ||
"lodash": "4.17.2", | ||
"class.extend": "0.9.2", | ||
"underscore": "1.8.3" | ||
"class.extend": "0.9.2" | ||
}, | ||
@@ -24,3 +23,3 @@ "license": "MIT", | ||
"name": "serverless-enable-api-logs", | ||
"version": "1.1.0" | ||
"version": "2.0.0" | ||
} |
# serverless-enable-api-logs | ||
Enables Coudwatch logging for API Gateway events | ||
# Resources | ||
- [Github](https://github.com/paulSambolin/serverless-enable-api-logs) | ||
- [NPM](https://www.npmjs.com/package/serverless-enable-api-logs) | ||
@@ -5,0 +8,0 @@ # Usage |
@@ -29,6 +29,5 @@ 'use strict'; | ||
// find the correct stage name | ||
var stage = this._serverless.service.defaults.stage; | ||
if (this._serverless.variables.options.stage) { | ||
stage = this._serverless.variables.options.stage; | ||
} | ||
const stage = this._serverless.variables.options.stage ? | ||
this._serverless.variables.options.stage : | ||
this._serverless.service.provider.stage; | ||
@@ -35,0 +34,0 @@ // override the deployment config, which can be ignored, see: |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5102
2
25
67
- Removedunderscore@1.8.3
- Removedunderscore@1.8.3(transitive)