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
**
If line in .gitignore already starts with **, then gitignore-to-dockerignore emits **/**, which should be just **.
.gitignore
gitignore-to-dockerignore
**/**
Steps to reproduce:
echo "**/*.o" > .gitignore gitignore-to-dockerignore cat .dockerignore
Expected:
.git/ **/*.o
Got:
.git/ **/**/*.o
The text was updated successfully, but these errors were encountered:
Workaround is just:
gitignoreToDockerignore(dotGitignore).replace( /\*\*\/\*\*\//g, "**/", );
Sorry, something went wrong.
No branches or pull requests
If line in
.gitignore
already starts with**
, thengitignore-to-dockerignore
emits**/**
, which should be just**
.Steps to reproduce:
Expected:
Got:
The text was updated successfully, but these errors were encountered: