Skip to content
This repository was archived by the owner on Apr 30, 2019. It is now read-only.

Commit da0947f

Browse files
committed
Missed a namespace for file (todo: why did TK not catch this)
- Fixes #10
1 parent 7932ece commit da0947f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/swapfile_provider.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ def persist
159159

160160
contents << addition
161161
contents.reject! { |line| line.strip.empty? }
162-
File.open(fstab, 'w') do |f|
162+
::File.open(fstab, 'w') do |f|
163163
f.write(contents.join("\n") + "\n")
164164
end
165165
end

0 commit comments

Comments
 (0)