Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI don't check if directory in parameter exists #266

Open
pacome35220 opened this issue Dec 4, 2018 · 0 comments
Open

CLI don't check if directory in parameter exists #266

pacome35220 opened this issue Dec 4, 2018 · 0 comments
Labels
bug Something isn't working package:cli Cli package scope

Comments

@pacome35220
Copy link
Contributor

I'm submitting a ... (check one with "x")

[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request

Scope (check one with "x")

[ ] <root>
[x] @zetapush/cli
[ ] @zetapush/client
[ ] @zetapush/cometd
[ ] @zetapush/common
[ ] @zetapush/core
[ ] @zetapush/create
[ ] @zetapush/http-server
[ ] @zetapush/platform-legacy
[ ] @zetapush/testing
[ ] @zetapush/troubleshooting
[ ] @zetapush/user-management
[ ] @zetapush/worker

Current behavior

zeta run --front mdr --serve-front don't throw error
zeta run --worker mdr throw error, but when calling open(2) syscall on the .zetarc file
same with zeta push

Expected behavior

CLI should check if directories exist before doing anything.
When deploying without front directory, CLI just don't expose front URL (logic), but without telling me that it's because there is no front directory.

Minimal reproduction of the problem with instructions

What is the motivation / use case for changing the behavior?

Please tell us about your environment:

  • Operating System:
  • Node Version: X.Y.Z
  • Npm Version: X.Y.Z
  • @zetapush/* Version: 0.37.1
@pacome35220 pacome35220 added bug Something isn't working package:cli Cli package scope labels Dec 5, 2018
@pacome35220 pacome35220 modified the milestone: 0.37.2 Dec 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working package:cli Cli package scope
Projects
None yet
Development

No branches or pull requests

1 participant