Fix phpcbf hanging issue by closing stdin
This commit is contained in:
parent
4a8f8d52e8
commit
5b2e0a1ab3
|
@ -6,6 +6,7 @@
|
||||||
- Add [yapf](http://github.com/google/yapf) beautifier for Python.
|
- Add [yapf](http://github.com/google/yapf) beautifier for Python.
|
||||||
- Closes [#776] (https://github.com/Glavin001/atom-beautify/issues/776) Add support for `collapse-preserve-inline` brace_style for javascript.
|
- Closes [#776] (https://github.com/Glavin001/atom-beautify/issues/776) Add support for `collapse-preserve-inline` brace_style for javascript.
|
||||||
- Closes [#786](https://github.com/Glavin001/atom-beautify/issues/786) YAPF configuration files are ignored.
|
- Closes [#786](https://github.com/Glavin001/atom-beautify/issues/786) YAPF configuration files are ignored.
|
||||||
|
- Fix phpcbf hanging issue by closing stdin. See [#893](https://github.com/Glavin001/atom-beautify/issues/893)
|
||||||
|
|
||||||
# v0.29.0
|
# v0.29.0
|
||||||
- Closes [#447](https://github.com/Glavin001/atom-beautify/issues/447). Improved Handlebars language support
|
- Closes [#447](https://github.com/Glavin001/atom-beautify/issues/447). Improved Handlebars language support
|
||||||
|
|
|
@ -90,6 +90,10 @@
|
||||||
{
|
{
|
||||||
"name": "Joost van Doorn",
|
"name": "Joost van Doorn",
|
||||||
"url": "https://github.com/JoostvDoorn"
|
"url": "https://github.com/JoostvDoorn"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Arman Yessenamanov",
|
||||||
|
"url": "https://github.com/yesenarman"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"engines": {
|
"engines": {
|
||||||
|
|
|
@ -53,6 +53,8 @@ module.exports = class PHPCBF extends Beautifier
|
||||||
help: {
|
help: {
|
||||||
link: "http://php.net/manual/en/install.php"
|
link: "http://php.net/manual/en/install.php"
|
||||||
}
|
}
|
||||||
|
onStdin: (stdin) ->
|
||||||
|
stdin.end()
|
||||||
})
|
})
|
||||||
.then(=>
|
.then(=>
|
||||||
@readFile(tempFile)
|
@readFile(tempFile)
|
||||||
|
@ -79,6 +81,8 @@ module.exports = class PHPCBF extends Beautifier
|
||||||
help: {
|
help: {
|
||||||
link: "https://github.com/squizlabs/PHP_CodeSniffer"
|
link: "https://github.com/squizlabs/PHP_CodeSniffer"
|
||||||
}
|
}
|
||||||
|
onStdin: (stdin) ->
|
||||||
|
stdin.end()
|
||||||
})
|
})
|
||||||
.then(=>
|
.then(=>
|
||||||
@readFile(tempFile)
|
@readFile(tempFile)
|
||||||
|
|
Loading…
Reference in New Issue