breser / git2consul

Mirrors the contents of a git repository into Consul KVs.
Other
763 stars 164 forks source link

fix crash on windows #173

Open andriniaina opened 6 years ago

andriniaina commented 6 years ago

Hello, git2consul crashes on Windows because the function process.getuid() does not exist. With this fix, on Windows, we assume that the directory is always writable.

swyrik commented 4 years ago

Use git2consul-windows for Windows OS https://www.npmjs.com/package/git2consul-windows. git2consul will only work on unix.