Since release 1.3.x the --gruntfile option is part of grunt.option.flags().
This is causing issues while running grunt shell or similar tasks as an unknown option is being passed to an operation that might / will return an error.
Running "shell:phpunit" (shell) task
PHPUnit 7.4.3 by Sebastian Bergmann and contributors.
unrecognized option --gruntfile
Warning: Command failed: vendor/bin/phpunit --gruntfile=/home/redaxmedia/PhpstormProjects/redaxscript/gruntfile.js
Use --force to continue.
Since release 1.3.x the
--gruntfile
option is part ofgrunt.option.flags()
.This is causing issues while running
grunt shell
or similar tasks as an unknown option is being passed to an operation that might / will return an error.Fragment of the
grunt-shell
task:Error reported by PHPUnit:
Verbose information: