mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
Update message to include a case of complete deletion.
This commit is contained in:
parent
d4cb2b6684
commit
e334bcd40a
@ -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) {
|
||||
|
||||
@ -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(' '));
|
||||
});
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user