lassik / emacs-format-all-the-code

Auto-format source code in many languages with one command
https://melpa.org/#/format-all
MIT License
605 stars 105 forks source link

Unable to format any `Dockerfile`s #188

Closed hjpotter92 closed 2 years ago

hjpotter92 commented 2 years ago

When trying to format Dockerfile using dockfmt, the following error gets thrown in *format-all-errors* buffer

Please pass in Dockerfile(s)

Running dockfmt fmt <file> from terminal works without issues.

lassik commented 2 years ago

You probably have an old version of dockfmt. Stdin support was added in this PR.

hjpotter92 commented 2 years ago

Thanks. I was using the aur bundled one (https://aur.archlinux.org/packages/dockfmt). switching to git build resolved this.