We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
deno publish --dry-run
--token
I'm running deno publish --dry-run in a deno task in a pre-commit hook.
deno task
pre-commit
When I run the deno task directly, this works. When it is run by the hook, however, it fails with the following error:
error: No means to authenticate. Pass a token to `--token`.
I feel like you should never need to pass --token when using --dry-run.
--dry-run
Currently, I work-around this issue by adding a fake token, e. g. deno publish --dry-run --token=dry-run
deno publish --dry-run --token=dry-run
Deno 1.41.1, Windows 11
The text was updated successfully, but these errors were encountered:
Duplicate of #22658
It's fixed in canary already.
Sorry, something went wrong.
No branches or pull requests
I'm running
deno publish --dry-run
in adeno task
in apre-commit
hook.When I run the
deno task
directly, this works. When it is run by the hook, however, it fails with the following error:I feel like you should never need to pass
--token
when using--dry-run
.Currently, I work-around this issue by adding a fake token, e. g.
deno publish --dry-run --token=dry-run
Deno 1.41.1, Windows 11
The text was updated successfully, but these errors were encountered: