Skip to content

Commit bcd6503

Browse files
committed
Build/Test Tools: Correctly test grunt clean when built to run from src.
Because the `--` separator was missing, the `--dev` flag was not being passed to the script, thus not testing properly. See #52625. git-svn-id: https://develop.svn.wordpress.org/trunk@50796 602fd350-edb4-49c9-b593-d223f7449a82
1 parent a8323bf commit bcd6503

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/test-npm.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ jobs:
114114
run: npm run build:dev
115115

116116
- name: Clean after building in /src
117-
run: npm run grunt clean --dev
117+
run: npm run grunt clean -- --dev
118118

119119
# Verifies that installing NPM dependencies and building WordPress works as expected on MacOS.
120120
#
@@ -172,4 +172,4 @@ jobs:
172172
run: npm run build:dev
173173

174174
- name: Clean after building in /src
175-
run: npm run grunt clean --dev
175+
run: npm run grunt clean -- --dev

0 commit comments

Comments
 (0)