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

Commit

Permalink
Skip linting deleted files
Browse files Browse the repository at this point in the history
  • Loading branch information
westonruter committed Jan 17, 2016
1 parent 2f1c3c0 commit ae985c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions check-diff.sh
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,8 @@ function set_environment_variables {
mkdir -p "$LINTING_DIRECTORY"

for path in $( cat "$TEMP_DIRECTORY/paths-scope" | remove_diff_range ); do
# Skip submodules
if [ -d "$path" ]; then
# Skip submodules or files are deleted
if [ -d "$path" ] || [ ! -e "$path" ]; then
continue
fi

Expand Down

0 comments on commit ae985c4

Please sign in to comment.