@bothrs/zero-height
Advanced tools
Comparing version 0.1.10 to 0.1.11
@@ -19,6 +19,8 @@ "use strict"; | ||
var pre = prefix.length > 0 ? prefix + '-' : ''; | ||
if (typeof object[k] === 'object') | ||
if (typeof object[k] === 'object') { | ||
Object.assign(accumulator, flattenObject(object[k], pre + k)); | ||
else | ||
} | ||
else { | ||
accumulator[pre + k] = object[k]; | ||
} | ||
return accumulator; | ||
@@ -25,0 +27,0 @@ }, {}); |
@@ -80,7 +80,7 @@ "use strict"; | ||
if (response.statusCode !== 200) { | ||
if (typeof response.statusCode !== 'undefined') { | ||
console.error("Request to \"".concat(url, "\" failed with status ").concat(response.statusCode, ".")); | ||
if (response.statusCode === undefined) { | ||
console.error(response.error); | ||
} | ||
else { | ||
console.error(response.error); | ||
console.error("Request to \"".concat(url, "\" failed with status ").concat(response.statusCode, ".")); | ||
} | ||
@@ -87,0 +87,0 @@ return [2, (0, process_1.exit)(1)]; |
{ | ||
"name": "@bothrs/zero-height", | ||
"repository": "git@github.com:bothrs/open-source.git", | ||
"version": "0.1.10", | ||
"version": "0.1.11", | ||
"publishConfig": { | ||
@@ -55,3 +55,3 @@ "access": "public" | ||
}, | ||
"gitHead": "271fe04a3175c1d80edc7357188b80791aa35aef" | ||
"gitHead": "4ab40fc01ef06336bd7d460d10edcb44efb95f13" | ||
} |
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
22184
24
447