Skip to content

Commit

Permalink
One fix
Browse files Browse the repository at this point in the history
  • Loading branch information
deivid-rodriguez committed Nov 2, 2023
1 parent 2b77a75 commit 81a8d9d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def base_directory
end

def handle_pipenv_errors_resolving_original_reqs(error)
if error.message.include?("Could not find a version") ||
if /Could\s+not\s+find\s+a\s+version/.match?(error.message) ||
error.message.include?("package versions have conflicting dependencies")
msg = clean_error_message(error.message)
msg.gsub!(/\s+\(from .*$/, "")
Expand Down

0 comments on commit 81a8d9d

Please sign in to comment.