JustBlackBird / gulp-phpcs

Gulp plugin for running PHP Code Sniffer
MIT License
47 stars 12 forks source link

Spawn options api #43

Closed chaance closed 5 years ago

chaance commented 5 years ago

I was struggling with this plugin and couldn't figure out why my custom ruleset wasn't found in the composer directory, but I figured out that I just needed to set the command to run from a different directory. I was able to do this by passing an explicit cwd into child_process.spawn and I thought it might be helpful to expose this option in the API!

JustBlackBird commented 5 years ago

Thank you @chancestrickland

The changes released as v3.1.0