Skip to content

Commit

Permalink
Build/Test Tools: Correctly test grunt clean when built to run from…
Browse files Browse the repository at this point in the history
… `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
  • Loading branch information
desrosj committed Apr 28, 2021
1 parent a8323bf commit bcd6503
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-npm.yml
Expand Up @@ -114,7 +114,7 @@ jobs:
run: npm run build:dev

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

# Verifies that installing NPM dependencies and building WordPress works as expected on MacOS.
#
Expand Down Expand Up @@ -172,4 +172,4 @@ jobs:
run: npm run build:dev

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

0 comments on commit bcd6503

Please sign in to comment.