Skip to content

Commit

Permalink
Handle new error message for bad module paths
Browse files Browse the repository at this point in the history
go list returns a different error message:
go list -m: malformed module path "pkg-errors": missing dot in first path element
  • Loading branch information
mctofu committed Nov 19, 2021
1 parent b507e47 commit 79a059e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ class LatestVersionFinder
/404 Not Found/,
/Repository not found/,
/unrecognized import path/,
/malformed module path/,
# (Private) module could not be fetched
/module .*: git ls-remote .*: exit status 128/m.freeze
].freeze
Expand Down

0 comments on commit 79a059e

Please sign in to comment.