diff --git a/CHANGELOG.md b/CHANGELOG.md index 53a2e7b..bdb24bc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +# v0.33.3 (2018-09-28) + +- Fix [#2204](https://github.com/Glavin001/atom-beautify/issues/2204). Auto-remove docker containers after run. + +You can clean up old Docker containers by running: + +```bash +docker ps --all | grep "unibeautify/" | awk '{ print $1 }' | xargs docker rm +``` # v0.33.2 (2018-09-26) - (BREAKING CHANGE) Added `inline` and `content_unformatted` options from `js-beautify` html settings and cleared `unformatted`. Breaking change but generally improves the behavior to more accurately beautify html. ([#2210](https://github.com/Glavin001/atom-beautify/issues/2210), [#2215](https://github.com/Glavin001/atom-beautify/pull/2215), [js-beautify#1407](https://github.com/beautify-web/js-beautify/pull/1407)) diff --git a/src/beautifiers/executable.coffee b/src/beautifiers/executable.coffee index afebd19..dd0e1c9 100644 --- a/src/beautifiers/executable.coffee +++ b/src/beautifiers/executable.coffee @@ -450,6 +450,7 @@ class HybridExecutable extends Executable @docker.run([ "run", + "--rm", "--volume", "#{pwd}:#{workingDir}", "--volume", "#{path.resolve('/')}:#{rootPath}", "--workdir", workingDir,