apply #1649 fix to other platforms besides win

fixes #1684
fixes #1487
This commit is contained in:
Jason Scragz 2017-05-29 16:16:37 -07:00
parent 3001d312c7
commit 8b8595ee9c
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ module.exports = class PHPCBF extends Beautifier
@run("phpcbf", [
"--no-patch" unless options.phpcbf_version is 3
"--standard=#{options.standard}" if options.standard
tempFile = @tempFile("temp", text)
tempFile = @tempFile("temp", text, ".php")
], {
ignoreReturnCode: true
help: {