Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion Library/Homebrew/bundle/go_dumper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,14 @@ def self.packages
# Extract the package path (second field after splitting by tab)
# The line format is: "\tpath\tgithub.com/user/repo"
parts = path_line.split("\t")
parts[2]&.strip if parts.length >= 3
path = parts[2]&.strip if parts.length >= 3

# `command-line-arguments` is a dummy package name for binaries built
# from a list of source files instead of a specific package name.
# https://github.com/golang/go/issues/36043
next if path == "command-line-arguments"

path
end.compact.uniq
else
[]
Expand Down
Loading