Skip to content

Commit e6a872b

Browse files
author
Tim Morgan
committed
Fix for JRuby
1 parent da66aa8 commit e6a872b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/git/path.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ def initialize(path, check_path = true)
77
if !check_path || File.exists?(path)
88
@path = File.expand_path(path)
99
else
10-
raise ArgumentError, "path does not exist", File.expand_path(path)
10+
raise ArgumentError, "path does not exist: #{File.expand_path(path)}"
1111
end
1212
end
1313

@@ -24,4 +24,4 @@ def to_s
2424
end
2525

2626
end
27-
end
27+
end

0 commit comments

Comments
 (0)