Skip to content

Commit

Permalink
Merge branch 'master' into ACNA1237
Browse files Browse the repository at this point in the history
  • Loading branch information
purplecabbage authored Aug 3, 2021
2 parents baeb4b7 + ca269a5 commit 6dd25ce
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/commands/app/delete/web-assets.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class DeleteWebAssetsCommand extends BaseCommand {
const fullConfig = this.getFullConfig()
const webAssetsByImpl = this.getAllWebAssets(fullConfig)
if (!webAssetsByImpl) {
this.error('There does not appear to be web-assets to delete')
this.error('web-assets not found')
}
// prompt user
const choices = []
Expand Down
2 changes: 1 addition & 1 deletion src/commands/app/deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class Deploy extends BuildCommand {

// final message
// TODO better output depending on which ext points/app and flags
this.log(chalk.green(chalk.bold('Successfull deployment 🏄')))
this.log(chalk.green(chalk.bold('Successful deployment 🏄')))
}

async deploySingleConfig (name, config, flags, spinner) {
Expand Down
2 changes: 1 addition & 1 deletion test/commands/app/delete/web-assets.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ describe('bad user selections', () => {
'web-assets': [{ src: 'fakeWebPath23' }]
}
})
await expect(command.run()).rejects.toThrow('There does not appear')
await expect(command.run()).rejects.toThrow('web-assets not found')
expect(fs.removeSync).not.toHaveBeenCalled()
})

Expand Down

0 comments on commit 6dd25ce

Please sign in to comment.