jwoudenberg / elm-pair

An artificial pair-programmer that helps you write Elm

Home Page:https://elm-pair.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

elm-pair clobbers cwd with `index.html`

Janiczek opened this issue · comments

I believe this is because elm-pair doesn't specify --output /dev/null to elm make.

Tried on release-6.

Steps to reproduce

  1. ensure no index.html is present in your directory
  2. open vim, open an Elm file, make some changes, close vim

Expected: ✅ still no index.html
Actual: ❌ index.html is now present in your directory

vid.mp4

Good find and solution! I fixed this on main, and will push out a new release that includes the fix later today. Many thanks!

I just pushed release 7 which includes a fix for this!