loreanvictor / tmplr-node

Node.js bindings for tmplr
MIT License
0 stars 1 forks source link

Accessing git remote values when no remote is connected results in error. #3

Closed loreanvictor closed 21 hours ago

loreanvictor commented 1 month ago

Folders might be controlled by git but not connected to any remote. In such cases, git.remote_* values will throw an error, instead of providing undefined values.

The fix is probably to simply make this function safe as well.

loreanvictor commented 1 month ago

this issue is probably caused by this.