Merge pull request #1649 from UziTech/php-extension
add .php extension to temp files
This commit is contained in:
commit
7c4896bd24
|
@ -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