flosse / sloc

simple tool to count SLOC (source lines of code)
MIT License
943 stars 84 forks source link

Fix regression in 0.3.0: fixed breaking changes from last dependency update Issue #137 #141

Closed ghost closed 7 months ago

ghost commented 7 months ago

Fixed breaking changes for commander (command line options handling) and readdirp (iterating recursive in file system) brought with last dependency update.

1) commander (program in the code) changed the access to parsed command line options, so you have to use .opt() to access them.

2) readdirp changed to async calls and also changed the signature of the method (root path is a separate argument of type string)

ghost commented 7 months ago

This fixes https://github.com/flosse/sloc/issues/137

There might be more problems from dependency update.