javascript-studio / studio-changes

📦 Generate a changelog as part of the npm version command
https://medium.com/javascript-studio/nice-and-easy-module-releases-a32c906b564e
MIT License
49 stars 7 forks source link

Falls back to Notepad when used with Cmder #3

Closed TekSiDoT closed 7 years ago

TekSiDoT commented 7 years ago

During versioning, the CHANGES.md gets opened with notepad instead of the associated program (VS Code).

Calling CHANGES.md from the respective command line however, shows the correct behavior and respects the system-wide .md file association.

System: Windows 10 Cmder: 161206 stable

crookedneighbor commented 7 years ago

This module uses editor to open your preferred editor. By default, on Windows, it uses Notepad. If you have VISUAL or EDITOR env variables set, it'll use that instead.

So, this is not a problem with this module (or the editor module).

mantoni commented 7 years ago

Thanks @crookedneighbor. This is how to solve it. Can this be closed then @TekSiDoT ?

TekSiDoT commented 7 years ago

Yes, thank you for your help!