Merge branch 'master' into fix-rubocop-issues-1773-793
This commit is contained in:
commit
529cec83b0
|
@ -1,7 +1,10 @@
|
|||
# Next
|
||||
- Fixes #1638. update type-formatter and Fixes indent size not supported
|
||||
- Add support for rustfmt-nightly
|
||||
- Fixes #1773 and #793. ruby-beautify with Rubocop now respects `Exclude` settings, and properly loads inherited config files (like `~/.rubocop.yml`)
|
||||
- Fixes [#1773](https://github.com/Glavin001/atom-beautify/issues/1773) and [#793](https://github.com/Glavin001/atom-beautify/issues/793). ruby-beautify with Rubocop now respects `Exclude` settings, and properly loads inherited config files (like `~/.rubocop.yml`)
|
||||
|
||||
# v0.30.5 (2017-08-11)
|
||||
- Fix for [#1721](https://github.com/Glavin001/atom-beautify/issues/1721). Changes required due to TextBuffer.save becoming async in Atom 1.19
|
||||
- Fixes [#1638](https://github.com/Glavin001/atom-beautify/issues/1638). Update type-formatter and Fixes indent size not supported
|
||||
- See [#358](https://github.com/Glavin001/atom-beautify/issues/358). Add support for rustfmt-nightly
|
||||
|
||||
# v0.30.4 (2017-07-14)
|
||||
- Fixes #1732. Improve deprecation message for old options for new Executables
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "atom-beautify",
|
||||
"main": "./src/beautify",
|
||||
"version": "0.30.4",
|
||||
"version": "0.30.5",
|
||||
"private": true,
|
||||
"description": "Beautify HTML, CSS, JavaScript, PHP, Python, Ruby, Java, C, C++, C#, Objective-C, CoffeeScript, TypeScript, Coldfusion, SQL, and more in Atom",
|
||||
"repository": {
|
||||
|
|
|
@ -542,9 +542,10 @@ handleSaveEvent = ->
|
|||
# It will add a newline and keep the file from converging on a beautified form
|
||||
# and saving without emitting onDidSave event, because there were no changes.
|
||||
pendingPaths[filePath] = true
|
||||
editor.save()
|
||||
delete pendingPaths[filePath]
|
||||
logger.verbose('Saved TextEditor.')
|
||||
Promise.resolve(editor.save()).then(() ->
|
||||
delete pendingPaths[filePath]
|
||||
logger.verbose('Saved TextEditor.')
|
||||
)
|
||||
)
|
||||
.catch((error) ->
|
||||
return showError(error)
|
||||
|
|
Loading…
Reference in New Issue