diff --git a/lib/plugins/aws/deploy/lib/checkForChanges.js b/lib/plugins/aws/deploy/lib/checkForChanges.js index 470b2ae33..bbc7bc0e5 100644 --- a/lib/plugins/aws/deploy/lib/checkForChanges.js +++ b/lib/plugins/aws/deploy/lib/checkForChanges.js @@ -49,7 +49,7 @@ module.exports = { return BbPromise.reject(new this.serverless.classes.Error([ `The serverless deployment bucket "${params.Bucket}" does not exist.`, `Create it manually if you want to reuse the CloudFormation stack "${stackName}",`, - 'or delete the stack then run "sls deploy".', + 'or delete the stack if it is no longer required.', ].join(' '))); }).then((result) => { if (result && result.Contents && result.Contents.length) { diff --git a/lib/plugins/aws/deploy/lib/checkForChanges.test.js b/lib/plugins/aws/deploy/lib/checkForChanges.test.js index d5542c18d..4a8e9fb4f 100644 --- a/lib/plugins/aws/deploy/lib/checkForChanges.test.js +++ b/lib/plugins/aws/deploy/lib/checkForChanges.test.js @@ -142,7 +142,7 @@ describe('checkForChanges', () => { return expect(awsDeploy.getMostRecentObjects()).to.be.rejectedWith([ `The serverless deployment bucket "${awsDeploy.bucketName}" does not exist.`, 'Create it manually if you want to reuse the CloudFormation stack "my-service-dev",', - 'or delete the stack then run "sls deploy".', + 'or delete the stack if it is no longer required.', ].join(' ')); });