Merge pull request #1059 from yesenarman/master
Fix phpcbf hanging issue by closing stdin
This commit is contained in:
commit
88a8edbe95
|
@ -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