Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleanup: simplify switch statement, reuse build.IsLocalImport
We already import and use build package here, so there's no harm in reuse. The code is both shorter and more readable.
- Loading branch information