lib/scrivito/migrations/workspace_lock.rb in scrivito_sdk-1.5.5 vs lib/scrivito/migrations/workspace_lock.rb in scrivito_sdk-1.6.0.rc1
- old
+ new
@@ -22,10 +22,10 @@
File.delete(filename)
end
end
def exists?
- File.exists?(filename)
+ File.exist?(filename)
end
private
def create_workspace