pinksynth / nova-elixir-formatter

MIT License
1 stars 2 forks source link

Formatting erases entire file #3

Open hhofner opened 2 years ago

hhofner commented 2 years ago

https://user-images.githubusercontent.com/12394200/183311556-60dd5816-f3a3-4d72-88e8-deaeccf1987d.mp4

Actually tried Murphy Edition fork but this happens on this repo as well.

Error log:

Elixir Formatter (Murphy Edition)[15:28:48.759000] Extension encountered an uncaught exception:
/Users/hhofner/Library/Application Support/Nova/Extensions/mrmurphy.ElixirFormatter/Scripts/main.js (Line 8, Column 32)
TypeError: undefined is not an object (evaluating 'formatOnSave(editor).catch')
    @file:///Users/hhofner/Library/Application%20Support/Nova/Extensions/mrmurphy.ElixirFormatter/Scripts/main.js:8:32
mratliff commented 2 years ago

having same issue....would be nice if someone could revise this or other fork of this functionality