Comparing version 1.1.4 to 1.1.5
{ | ||
"name": "depsync", | ||
"version": "1.1.4", | ||
"version": "1.1.5", | ||
"author": "Dom Chen", | ||
@@ -5,0 +5,0 @@ "homepage": "http://www.idom.me/", |
@@ -46,9 +46,11 @@ ////////////////////////////////////////////////////////////////////////////////////// | ||
this.password = process.env["GIT_PASSWORD"]; | ||
if (!this.username || !this.password) { | ||
let domainName = process.env["DomainName"]; | ||
let domainName = process.env["DomainName"]; | ||
if ((!this.username || !this.password) && domainName) { | ||
let list = domainName.split("@"); | ||
if (list.length === 2) { | ||
list = list[0].split(":"); | ||
this.username = list[0]; | ||
this.password = list[1]; | ||
if (list.length === 2) { | ||
this.username = list[0]; | ||
this.password = list[1]; | ||
} | ||
} | ||
@@ -55,0 +57,0 @@ } |
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
42215
978