Merge branch 'dsisnero-patch-2'

This commit is contained in:
Steve Bazyl 2016-01-21 11:38:02 -08:00
commit 010094a78b
1 changed files with 2 additions and 1 deletions

View File

@ -47,7 +47,8 @@ class BaseCli < Thor
# on Windows)
def well_known_path_for(file)
if OS.windows?
File.join(ENV['APPDATA'], 'google', file)
dir = ENV.fetch('HOME'){ ENV['APPDATA']}
File.join(dir, 'google', file)
else
File.join(ENV['HOME'], '.config', 'google', file)
end