From bcd65037b6096ca6df11731531b54aeb1a2fd269 Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers Date: Wed, 28 Apr 2021 19:05:58 +0000 Subject: [PATCH] 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 --- .github/workflows/test-npm.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-npm.yml b/.github/workflows/test-npm.yml index 8362db4c6dd0..ceefcdbb5df5 100644 --- a/.github/workflows/test-npm.yml +++ b/.github/workflows/test-npm.yml @@ -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. # @@ -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