diff --git a/phpmd-action.bash b/phpmd-action.bash index f587603..df4b30c 100755 --- a/phpmd-action.bash +++ b/phpmd-action.bash @@ -74,7 +74,7 @@ fi echo "::debug::PHPMD Command: ${command_string[@]}" -if [ -Z $ACTION_PHPUNIT_PATH ] +if [ -z "$ACTION_PHPMD_PATH" ] then docker run --rm \ --volume "${phar_path}":/usr/local/bin/phpmd \