fix js lint filename pattern matching (#46605)
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
This commit is contained in:
parent
9cd793abbc
commit
f51d6fe652
|
@ -11,7 +11,7 @@
|
|||
baseBranch=${1:-"trunk"}
|
||||
|
||||
# shellcheck disable=SC2046
|
||||
changedFiles=$(git diff $(git merge-base HEAD $baseBranch) --relative --name-only --diff-filter=d -- '*.js' '*ts' '*tsx')
|
||||
changedFiles=$(git diff $(git merge-base HEAD $baseBranch) --relative --name-only --diff-filter=d -- '*.js' '*.ts' '*.tsx')
|
||||
|
||||
# Only complete this if changed files are detected.
|
||||
if [[ -z $changedFiles ]]; then
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
Significance: patch
|
||||
Type: dev
|
||||
Comment: fix js lint filename pattern matching
|
||||
|
||||
|
Loading…
Reference in New Issue