Skip to content

Commit

Permalink
update no matching command message
Browse files Browse the repository at this point in the history
  • Loading branch information
GrantBirki committed Jun 27, 2022
1 parent 6d20671 commit fff347c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions __tests__/functions/prechecks.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ test('runs prechecks and does not find any matching command', async () => {
- \`.deploy\` - deploy **this** branch (\`test-ref\`)
- \`.deploy noop\` - deploy **this** branch in **noop** mode (\`test-ref\`)
- \`.deploy main\` - deploy the \`main\` branch
- \`.deploy to <environment>\` - deploy **this** branch to the specified environment
> Note: \`.deploy main\` is often used for rolling back a change or getting back to a known working state`),
status: false
})
Expand Down
1 change: 1 addition & 0 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/functions/prechecks.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ export async function prechecks(
- \`${trigger}\` - deploy **this** branch (\`${ref}\`)
- \`${trigger} ${noop_trigger}\` - deploy **this** branch in **noop** mode (\`${ref}\`)
- \`${trigger} ${stable_branch}\` - deploy the \`${stable_branch}\` branch
- \`${trigger} to <environment>\` - deploy **this** branch to the specified environment
> Note: \`${trigger} ${stable_branch}\` is often used for rolling back a change or getting back to a known working state
`)
return {message: message, status: false}
Expand Down

0 comments on commit fff347c

Please sign in to comment.