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

tkn pac generate -f fail when directory is not there #1849

Open
chmouel opened this issue Dec 5, 2024 · 0 comments
Open

tkn pac generate -f fail when directory is not there #1849

chmouel opened this issue Dec 5, 2024 · 0 comments
Labels
bug Something isn't working cli

Comments

@chmouel
Copy link
Member

chmouel commented Dec 5, 2024

% tkn pac generate --overwrite --branch main --event-type pull_request -f .tekton/another.yaml
Error: cannot write template to .tekton/another.yaml: open .tekton/another.yaml: no such file or directory

probably should mkdirAll the dirname of the file

@chmouel chmouel added bug Something isn't working cli labels Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cli
Development

No branches or pull requests

1 participant