Skip to content

Commit

Permalink
testing fix for #20
Browse files Browse the repository at this point in the history
  • Loading branch information
MarioRuiz committed Feb 24, 2020
1 parent 14b5f08 commit 0641bab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/nice_http.rb
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ def initialize(args = {})
else
folder = File.dirname("#{Dir.pwd}/#{caller.first.scan(/(.+):\d/).join}")
end
folder += "/" unless log_filename.start_with?("/") or log_filename.start_with?(/\w+:/)
folder += "/" unless log_filename.start_with?("/") or log_filename.match?(/^\w+:/)
log_filename = folder + log_filename
end
require "fileutils"
Expand Down

0 comments on commit 0641bab

Please sign in to comment.