Remove Cask::Config#write.
This commit is contained in:
parent
4c6d0ba069
commit
3bf7e5bce5
@ -104,9 +104,5 @@ module Cask
|
|||||||
explicit: explicit,
|
explicit: explicit,
|
||||||
}.to_json(*args)
|
}.to_json(*args)
|
||||||
end
|
end
|
||||||
|
|
||||||
def write(path)
|
|
||||||
path.atomic_write(to_json)
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@ -391,7 +391,7 @@ module Cask
|
|||||||
end
|
end
|
||||||
|
|
||||||
def save_config_file
|
def save_config_file
|
||||||
@cask.config.write(@cask.config_path)
|
@cask.config_path.atomic_write(@cask.config.to_json)
|
||||||
end
|
end
|
||||||
|
|
||||||
def uninstall
|
def uninstall
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user