Open KaoruDev opened 1 year ago
TLDR: dotfiles are ignored in exclude option, I believe the bug is here: https://github.com/prontolabs/pronto/blob/f5feefa5cbe7ba54839ef064f5fe9b8512e92b7d/lib/pronto/config.rb#L49
exclude
and changing it to Dir.glob(path.tos, File::FNM_DOTMATCH)
Dir.glob(path.tos, File::FNM_DOTMATCH)
According to: https://stackoverflow.com/questions/11385795/how-to-list-directory-contents-including-dotfiles-but-not-and
I have the following structure:
.buildkite/src/ package.json index.js .eslintrc.js .eslintrc.json packaage.json
And the following config:
all: exclude: - ".buildkite/**/*"
However, dotfile changes are still getting picked up by pronto.
pronto
TLDR: dotfiles are ignored in
exclude
option, I believe the bug is here: https://github.com/prontolabs/pronto/blob/f5feefa5cbe7ba54839ef064f5fe9b8512e92b7d/lib/pronto/config.rb#L49and changing it to
Dir.glob(path.tos, File::FNM_DOTMATCH)
According to: https://stackoverflow.com/questions/11385795/how-to-list-directory-contents-including-dotfiles-but-not-and
Steps to reproduce
I have the following structure:
And the following config:
However, dotfile changes are still getting picked up by
pronto
.