mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-03 01:48:11 +08:00
tweak comparison
This commit is contained in:
+1
-1
@@ -30,7 +30,7 @@ lint:
|
|||||||
.PHONY: lint-diff
|
.PHONY: lint-diff
|
||||||
lint-diff:
|
lint-diff:
|
||||||
# Get client diff against master, find all js/jsx files, remove the client prefex, run eslinst against result
|
# 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
|
# Development convenience methods
|
||||||
|
|||||||
Reference in New Issue
Block a user