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

Check error before rendering #5

Closed
psibi opened this issue Feb 11, 2022 · 1 comment
Closed

Check error before rendering #5

psibi opened this issue Feb 11, 2022 · 1 comment

Comments

@psibi
Copy link
Owner

psibi commented Feb 11, 2022

❯ just --list
error: Recipe line has inconsistent leading whitespace. Recipe started with `␉` but found line with `␠␠␠␠`
    |
219 |     kubectl apply -f nginx_canary.yaml
    | ^^^^
❯ echo $status
1

And the justl buffer still tries to parse it and display. Instead we should check the exit code status and do proper handling on these cases.

@psibi
Copy link
Owner Author

psibi commented Feb 12, 2022

Fixed via #6

@psibi psibi closed this as completed Feb 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant