Fix broken PHP linter workflow (https://github.com/woocommerce/woocommerce-admin/pull/7526)
* Remove dollar sign and space to fix the syntax error. Remove dollar sign and space * , separated file list does not work with phpcs. Use space instead
This commit is contained in:
parent
cd768601e9
commit
d2e1e3feff
|
@ -4,7 +4,7 @@ PHP_FILES_CHANGED=""
|
||||||
for FILE in $(echo $CHANGED_FILES | tr ',' '\n')
|
for FILE in $(echo $CHANGED_FILES | tr ',' '\n')
|
||||||
do
|
do
|
||||||
if [[ $FILE =~ ".php" ]]; then
|
if [[ $FILE =~ ".php" ]]; then
|
||||||
$PHP_FILES_CHANGED += "$FILE,"
|
PHP_FILES_CHANGED+="$FILE "
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue