DataStore: Remove the file_path check in commit
This commit is contained in:
parent
40fdab3de8
commit
b72b70a845
|
@ -40,8 +40,6 @@ module Vagrant
|
|||
# Commits any changes to the data to disk. Even if the data
|
||||
# hasn't changed, it will be reserialized and written to disk.
|
||||
def commit
|
||||
return if !file_path
|
||||
|
||||
clean_nil_and_empties
|
||||
|
||||
if empty?
|
||||
|
|
Loading…
Reference in New Issue