-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
--exclude
option has no effect
#77
Comments
Reason: Should we canonicalize more paths? |
Aha, you're right -- I included the leading
True, though the example I provided was limited to provide a demonstration. Basically my goal was to use deadnix-params := '--no-underscore'
# <- Lint files
lint: (deadnix '--fail')
statix check
# <- Write linter fixes to files
fix: (deadnix "--edit")
statix fix
[private]
deadnix ARGS='--fail':
fd -t f -e nix --exclude='packages/**/*.nix' --exec-batch \
deadnix {{ARGS}} {{deadnix-params}}
fd -t f -e nix . packages --exec-batch \
deadnix {{ARGS}} --no-lambda-pattern-names {{deadnix-params}}
Could you clarify what you mean by "canonicalize" in this context? |
I mean adding more |
As titled:
Edit: This is v1.2.0 from nixos-unstable. I figured that'd be the most recent, but it looks like there's also v1.2.1. However, it makes no difference:
The text was updated successfully, but these errors were encountered: