noonat / sublime-gofmt

Sublime plugin to run gofmt (or goimports, or whatever you want).
MIT License
28 stars 6 forks source link

Corrected how cwd is passed to the subprocess #11

Closed mitranim closed 6 years ago

mitranim commented 6 years ago

After "guessing" the cwd from the current file or open folders, the subprocess is now correctly invoked from this cwd. This ensures that goimports works more reliably, preventing some edge-case issues.

This is listed in changelog.md as v0.1.7. But since v0.1.6 and v0.1.5 haven't yet been tagged, meaning not published to PackageControl, it probably makes sense to squash them all into one. Up to you.

noonat commented 6 years ago

Thanks for this! I'll combine them all into a single release today.