heroku-accounts
Advanced tools
Comparing version 1.1.2 to 1.1.3
@@ -10,4 +10,12 @@ 'use strict' | ||
const basedir = path.join(os.homedir(), '.heroku', 'accounts') | ||
function configDir () { | ||
const legacyDir = path.join(os.homedir(), '.heroku') | ||
if (fs.existsSync(legacyDir)) { | ||
return legacyDir | ||
} | ||
return path.join(os.homedir(), '.config', 'heroku') | ||
} | ||
const basedir = path.join(configDir(), 'accounts') | ||
const netrcfile = process.platform === 'win32' ? '_netrc' : '.netrc' | ||
@@ -14,0 +22,0 @@ const netrcpath = path.join(os.homedir(), netrcfile) |
{ | ||
"name": "heroku-accounts", | ||
"description": "manage multiple heroku accounts", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"author": "Jeff Dickey @dickeyxxx", | ||
@@ -6,0 +6,0 @@ "bugs": "https://github.com/heroku/heroku-accounts/issues", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
53542
173