flosse / sloc

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

alias not working #56

Closed hampsterx closed 8 years ago

hampsterx commented 8 years ago

eg

sloc --alias jsx=js 

looks like its doing readdirp with fileFilter set to list of exts but this does not include any alias so it's filtering them out before it can do the stats on it :(

flosse commented 8 years ago

thx for reporting that issue!

flosse commented 8 years ago

I just had a short look at the current source and saw that James Tatum already fix it in 7eec61ed :) If you like, you can fix a blocking bug so we can release a next version that contains that fix.