Skip to content

Commit

Permalink
fix: cmd script
Browse files Browse the repository at this point in the history
  • Loading branch information
shortcuts committed Feb 1, 2022
1 parent 55cdfb8 commit 52007d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/formatter.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ elif [[ $LANGUAGE == 'php' ]]; then
else
PHP="php8"
fi
CMD= "cd $FOLDER && composer update && composer dump-autoload && PHP_CS_FIXER_IGNORE_ENV=1 $PHP vendor/bin/php-cs-fixer fix lib/ --using-cache=no --allow-risky=yes"
CMD="cd $FOLDER && composer update && composer dump-autoload && PHP_CS_FIXER_IGNORE_ENV=1 $PHP vendor/bin/php-cs-fixer fix lib/ --using-cache=no --allow-risky=yes"
elif [[ $LANGUAGE == 'java' ]]; then
CMD="find $FOLDER -type f -name \"*.java\" | xargs java --add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED \
--add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED \
Expand Down

0 comments on commit 52007d3

Please sign in to comment.