serverless-plugin-additional-stacks
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -5,3 +5,3 @@ 'use strict' | ||
class ServerlessPlugin { | ||
class AdditionalStacksPlugin { | ||
constructor(serverless, options) { | ||
@@ -417,2 +417,6 @@ this.serverless = serverless | ||
this.serverless.cli.log('Additional stack ' + stackName + ' ' + this.phrases[operation][state] + ' (' + response.StackStatus + ').') | ||
if (this.stackStatusCodes[response.StackStatus] === 'failure') { | ||
// The operation failed, so return an error to Serverless | ||
return Promise.reject(new Error('Additional stack ' + stackName + ' ' + this.phrases[operation][state] + ' (' + response.StackStatus + ')')) | ||
} | ||
} | ||
@@ -425,2 +429,2 @@ }) | ||
module.exports = ServerlessPlugin | ||
module.exports = AdditionalStacksPlugin |
{ | ||
"name": "serverless-plugin-additional-stacks", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "repository": {}, |
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
74893
767