diff --git a/src/cli.js b/src/cli.js index f42b2b80..d70de8ce 100644 --- a/src/cli.js +++ b/src/cli.js @@ -76,7 +76,7 @@ Options: } if (options.environment && options.destroy) { - const { environmentId, '--token': token } = options; + const { '': environmentId, '--token': token } = options; return destroyEnvironment({ environmentId, token }); }