Skip to content
This repository has been archived by the owner on May 18, 2023. It is now read-only.

Running mira undeploy without a stack file causes an unhandled promise rejection #64

Closed
nigelhanlon opened this issue Jul 28, 2020 · 0 comments · Fixed by #67
Closed
Assignees
Labels
bug Something isn't working

Comments

@nigelhanlon
Copy link
Contributor

Describe the bug

When attempting to run npx mira undeploy without any additional arguments, a Transpile error occurs.

To Reproduce
Steps to reproduce the behavior:

  1. Check out the S3 Sample application from Git
  2. Install, build and deploy the application as normal with Mira
  3. With a successful deployment, try and undeploy the application using npx mira undeploy with no additional arguments.
  4. An exception will occur for an Unhandled Promise Rejection

Expected behavior

An error message should appear stating that the --file parameter pointing to the main stack file is required.

Screenshots

image

Client (please complete the following information if relevant):

  • OS: Mac OS 10.12.5 Catalina
  • Mira Version 1.2.0
@nigelhanlon nigelhanlon added the bug Something isn't working label Jul 28, 2020
@leorossi leorossi self-assigned this Jul 28, 2020
@irelandm irelandm linked a pull request Jul 28, 2020 that will close this issue
leorossi added a commit that referenced this issue Jul 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants