cask/installer: ensure config_path exists.
I encountered this when installing `microsoft-edge`. Perhaps `HOMEBREW_INSTALL_FROM_API` related.
This commit is contained in:
parent
106af03557
commit
20a200bdb7
@ -388,6 +388,7 @@ module Cask
|
||||
end
|
||||
|
||||
def save_config_file
|
||||
@cask.config_path.dirname.mkpath
|
||||
@cask.config_path.atomic_write(@cask.config.to_json)
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user