mirror of
https://github.com/nishiki/manage-password.git
synced 2025-03-19 21:04:35 +00:00
fix create config folder
This commit is contained in:
parent
0e86be5461
commit
0c93fd9eea
1 changed files with 3 additions and 1 deletions
|
@ -71,7 +71,9 @@ class Config
|
|||
'gpg_exe' => gpg_exe,
|
||||
}
|
||||
|
||||
FileUtils.mkdir_p(wallet_dir, mode: 0700)
|
||||
FileUtils.mkdir_p(@config_dir, mode: 0700)
|
||||
FileUtils.mkdir_p(wallet_dir, mode: 0700)
|
||||
|
||||
File.open(@config_file, 'w') do |file|
|
||||
file << config.to_yaml
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue