Skip to content

Commit

Permalink
Handle new Go 1.13 error format
Browse files Browse the repository at this point in the history
  • Loading branch information
hmarr committed Oct 7, 2019
1 parent 604796d commit 5db8ef3
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ def updated_go_sum_content
].freeze
MODULE_PATH_MISMATCH_REGEXES = [
/go: ([^@\s]+)(?:@[^\s]+)?: .* has non-.* module path "(.*)" at/,
/go: ([^@\s]+)(?:@[^\s]+)?: .* unexpected module path "(.*)"/
/go: ([^@\s]+)(?:@[^\s]+)?: .* unexpected module path "(.*)"/,
/go: ([^@\s]+)(?:@[^\s]+)?: .* declares its path as: ([\S]*)/m
].freeze

def local_replacements
Expand Down

0 comments on commit 5db8ef3

Please sign in to comment.