mattn / jvgrep

grep for japanese vimmer
https://mattn.kaoriya.net/
140 stars 19 forks source link

パス展開のバグ修正 #56

Closed koron closed 7 years ago

koron commented 7 years ago

jvgrep foo . のように存在するディレクトリに対して ココ が機能して、 No such file or directory となって検索できなくなっていました。

前後の文脈から、存在するディレクトリに対しては後に続く パス展開(~, *, $環境変数) の下準備を避けるべきと判断し、 その部分を別関数 (prepareGlob()) に分けた上で修正してみました。

mattn commented 7 years ago

Thanks

koron commented 7 years ago

🙇

mattn commented 7 years ago

me :bow: too