Change config file option

This commit is contained in:
onigra 2017-02-11 21:55:06 +09:00
parent 42cc955930
commit 17cd9ce63f
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ module.exports = class PHPCSFixer extends Beautifier
phpCsFixerOptions = [ phpCsFixerOptions = [
"fix" "fix"
"--rules=#{options.rules}" if options.rules "--rules=#{options.rules}" if options.rules
"--config-file=#{configFile}" if configFile "--config=#{configFile}" if configFile
] ]
runOptions = { runOptions = {
ignoreReturnCode: true ignoreReturnCode: true