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

Feature request: print warnings during --dry-run #1899

Closed
nmay231 opened this issue Feb 13, 2024 · 1 comment
Closed

Feature request: print warnings during --dry-run #1899

nmay231 opened this issue Feb 13, 2024 · 1 comment

Comments

@nmay231
Copy link

nmay231 commented Feb 13, 2024

This is just a side-thought from #867.

It might be helpful to print warnings during a --dry-run for mistakes like using sha256("file/path.txt") instead of sha256_file("file/path.txt"). Don't know how common or reasonable this is, but it's a thought. *shrug*

@casey
Copy link
Owner

casey commented Feb 13, 2024

I think it's not possible to detect an error like sha256("file/path.txt"), since you might actually want the hash of that string. Anything that is detectable should get a warning, and that should definitely printed during --dry-run.

@casey casey closed this as completed Feb 13, 2024
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

2 participants