gabrielcsapo / node-git-server

🎡 A configurable git server written in Node.js
https://gabrielcsapo.github.io/node-git-server
MIT License
253 stars 73 forks source link

Listen needs an options object to be passed in #103

Closed stevesouth closed 2 years ago

stevesouth commented 2 years ago

Listen needs an options object to be passed in otherwise the callback won't be called.

gabrielcsapo commented 2 years ago

I think we should update the underlying code to ensure a default option is passed.

gabrielcsapo commented 2 years ago

I fixed this in https://github.com/gabrielcsapo/node-git-server/pull/88, options will by default set the server type to http