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
I'm using the addlicense container like so:
$ podman run --rm -v $PWD:/src ghcr.io/google/addlicense -v -check -ignore node_modules/** .
But this doesn't skip node_modules directory. However, if I changed it to -ignore=node_modules/**, then it skips node_modules as expected.
node_modules
-ignore=node_modules/**
If this isn't a bug then it should be made clear in the readme that = is required
=
The text was updated successfully, but these errors were encountered:
My guess is that your shell is interpreting the "**" before it gets passed to addlicense. What happens if you put it in quotes?
$ podman run --rm -v $PWD:/src ghcr.io/google/addlicense -v -check -ignore "node_modules/**" .
Assuming that works, this is pretty normal and expected, but probably worth a mention in the docs as you say.
Sorry, something went wrong.
Thanks for the quick reply. Yes you are right, putting in quotes works.
No branches or pull requests
I'm using the addlicense container like so:
$ podman run --rm -v $PWD:/src ghcr.io/google/addlicense -v -check -ignore node_modules/** .
But this doesn't skip
node_modules
directory. However, if I changed it to-ignore=node_modules/**
, then it skipsnode_modules
as expected.If this isn't a bug then it should be made clear in the readme that
=
is requiredThe text was updated successfully, but these errors were encountered: