Comparing version 1.4.1 to 1.4.2
@@ -231,3 +231,4 @@ var fs = require('fs'), | ||
if (err) return cb(err) | ||
cb(null, parseAwsIni(data)[profile] || {}) | ||
var parsedIni = parseAwsIni(data) | ||
cb(null, parsedIni['profile ' + profile] || parsedIni[profile] || {}) | ||
}) | ||
@@ -248,3 +249,4 @@ } | ||
return parseAwsIni(data)[profile] || {} | ||
var parsedIni = parseAwsIni(data) | ||
return parsedIni['profile ' + profile] || parsedIni[profile] || {} | ||
} | ||
@@ -251,0 +253,0 @@ |
{ | ||
"name": "awscred", | ||
"version": "1.4.1", | ||
"version": "1.4.2", | ||
"description": "Resolves AWS credentials (and region) using env, file and IAM strategies", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
15281
270