Skip to content

Commit 4f7bab2

Browse files
committed
fix: suppress v2 load warning in v1 mode
1 parent 6a60bae commit 4f7bab2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/pact.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77

88
begin
99
require 'pact/v2'
10-
rescue LoadError => e
11-
warn "Warning: Could not load 'pact/v2': #{e.message} \nPlease ensure that the 'pact-ffi' gem is included in your Gemfile for pact/v2 support."
12-
end
10+
rescue LoadError
11+
# "Please ensure that the 'pact-ffi' gem is included in your Gemfile for pact/v2 support."
12+
end

0 commit comments

Comments
 (0)