tweak comparison

This commit is contained in:
Severiano Badajoz
2020-04-08 12:15:34 -07:00
parent f415c9b527
commit c15d873f10
+1 -1
View File
@@ -30,7 +30,7 @@ lint:
.PHONY: lint-diff
lint-diff:
# Get client diff against master, find all js/jsx files, remove the client prefex, run eslinst against result
git diff --name-only --diff-filter=d master...HEAD -- ../client/ | grep -E "(.*)\.(jsx|js)" | sed "s/client\///" | xargs -r npx eslint
git diff --name-only --diff-filter=d origin/master...HEAD -- ../client/ | grep -E "(.*)\.(jsx|js)" | sed "s/client\///" | xargs -r npx eslint
# Development convenience methods