Skip to content

Commit 980d576

Browse files
committed
Revert "chore: remove unused monkeypatch file" (it was not unused)
This reverts commit 8fe421f.
1 parent a365c62 commit 980d576

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/monkeypatch.rb

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
def Filelock(lockname, options = {}, &block)
2+
puts "Opening file without filelock"
3+
File.open(lockname, File::RDWR|File::CREAT, 0644) do |file|
4+
Timeout::timeout(options.fetch(:timeout, 60), Filelock::ExecTimeout) { yield file }
5+
end
6+
end

0 commit comments

Comments
 (0)