Skip to content

Commit fff347c

Browse files
committed
update no matching command message
1 parent 6d20671 commit fff347c

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-1
lines changed

__tests__/functions/prechecks.test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ test('runs prechecks and does not find any matching command', async () => {
144144
- \`.deploy\` - deploy **this** branch (\`test-ref\`)
145145
- \`.deploy noop\` - deploy **this** branch in **noop** mode (\`test-ref\`)
146146
- \`.deploy main\` - deploy the \`main\` branch
147+
- \`.deploy to <environment>\` - deploy **this** branch to the specified environment
147148
> Note: \`.deploy main\` is often used for rolling back a change or getting back to a known working state`),
148149
status: false
149150
})

dist/index.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/functions/prechecks.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ export async function prechecks(
9595
- \`${trigger}\` - deploy **this** branch (\`${ref}\`)
9696
- \`${trigger} ${noop_trigger}\` - deploy **this** branch in **noop** mode (\`${ref}\`)
9797
- \`${trigger} ${stable_branch}\` - deploy the \`${stable_branch}\` branch
98+
- \`${trigger} to <environment>\` - deploy **this** branch to the specified environment
9899
> Note: \`${trigger} ${stable_branch}\` is often used for rolling back a change or getting back to a known working state
99100
`)
100101
return {message: message, status: false}

0 commit comments

Comments
 (0)