mdempsky / unconvert

Remove unnecessary type conversions from Go source
BSD 3-Clause "New" or "Revised" License
377 stars 26 forks source link

unconvert: fix calling without arguments #45

Closed egonelbre closed 5 years ago

egonelbre commented 5 years ago

unconvert should default to current directory when there are no arguments. Apparently packages.Load does it already automatically. Remove the check for no arguments and add tests for the different cases.

Fixes #44

dmitshur commented 5 years ago

Thank you for fixing this Egon!