Merge pull request #1693 from scragz/master
apply #1649 fix to other platforms besides win
This commit is contained in:
commit
711f94c8d3
|
@ -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: {
|
||||
|
|
Loading…
Reference in New Issue