Skip to content
This repository has been archived by the owner on Oct 25, 2022. It is now read-only.

Commit

Permalink
Fix environment destroy command
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanoverna committed Aug 31, 2020
1 parent af76ed3 commit f412b82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Options:
}

if (options.environment && options.destroy) {
const { environmentId, '--token': token } = options;
const { '<environmentId>': environmentId, '--token': token } = options;
return destroyEnvironment({ environmentId, token });
}

Expand Down

0 comments on commit f412b82

Please sign in to comment.