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
6 changes: 4 additions & 2 deletions lib/bundler/multilock/check.rb
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,10 @@ def deep_check(lockfile_definition, conflicts: nil)

next if pinned

Bundler.ui.error("#{spec} in #{lockfile_path} has not been pinned to a specific version, " \
"which is required since it is not part of the parent lockfile.")
message = "#{spec} in #{lockfile_path} has not been pinned to a specific version, " \
"which is required since it is not part of the parent lockfile."
message << " Be sure to set the ref to a commit hash for git sources." if spec.source.is_a?(Source::Git)
Bundler.ui.error(message)
success = false
end

Expand Down