Skip to content
This repository was archived by the owner on Nov 10, 2022. It is now read-only.

Conversation

@MattGeri
Copy link
Contributor

@MattGeri MattGeri commented Jun 2, 2016

  • Added additional cat statement as if there are no changes in the diff outside the exclude, it doesn't work

* Added additional cat statement as if there are no changes in the diff outside the exclude, it doesn't work
check-diff.sh Outdated

if [ ! -z "$PATH_EXCLUDE_PATTERN" ]; then
cat "$TEMP_DIRECTORY/paths-scope" | grep -E -v "$PATH_EXCLUDE_PATTERN" > "$TEMP_DIRECTORY/excluded-paths-scope"
cat "$TEMP_DIRECTORY/paths-scope" | grep -E -v "$PATH_EXCLUDE_PATTERN" | cat - > "$TEMP_DIRECTORY/excluded-paths-scope"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Try adding the -q arg for grep instead of masking the failure exit code via piping into cat -

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nevermind, it doesn't work.

* Updated name to EXCLUDES (previously EXCLUDE)
* Implemented a default pattern to exclude the vendor directory
* Remove the vendor ignore from YUI as already excluded on a global level
@westonruter westonruter merged commit 159119b into xwp:master Jun 2, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants