add .php extension to temp files
This commit is contained in:
parent
67a897bae0
commit
5662db5f6c
|
@ -50,7 +50,7 @@ module.exports = class PHPCBF extends Beautifier
|
|||
phpcbfPath unless isExec
|
||||
"--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