mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-24 01:08:11 +08:00
tweak comparison
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user