ko2ic/dart_oss_licenses

It always failes to find "pubspec.lock" on Windows

yukidaruma opened this issue · 1 comments

Due to Windows (or probably other non-POSIX shells) does not have environmental variable PWD by default, it always fails to find "pubspec.lock" even if I run the program in directory with "pubspec.lock".

This can be easily fixed by using Directory.current.

Sent PR #4.