prettier / prettier-emacs

Minor mode to format JS code on file save
http://jlongster.com/A-Prettier-Formatter
372 stars 53 forks source link

diff error on OpenBSD #61

Open mndrix opened 4 years ago

mndrix commented 4 years ago

Running the before-save-hook on OpenBSD fails because diff on that platform doesn't support --strip-trailing-cr (introduced in #13). Removing --strip-trailing-cr fixes the problem.