Skip to content

Commit f4b2c8b

Browse files
committed
deps: updated polykey from 2.3.5 to 2.4.0
fix: error rendering
1 parent 8158f0c commit f4b2c8b

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

npmDepsHash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sha256-ckDhoiFXCuB/abIn/GSYKFHMIwe+7pTHCoTbc3Hsyuo=
1+
sha256-QZafJAHalDT2QQhw4evfJ1fun7saN4Mz08JX8YP4SDQ=

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@
161161
"mocked-env": "^1.3.5",
162162
"nexpect": "^0.6.0",
163163
"node-gyp-build": "^4.8.4",
164-
"polykey": "^2.3.5",
164+
"polykey": "^2.4.0",
165165
"shelljs": "^0.8.5",
166166
"shx": "^0.3.4",
167167
"tsx": "^3.12.7",

src/utils/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ function outputFormatterError(err: any): string {
469469
if (err.data && !utils.isEmptyObject(err.data)) {
470470
output += `${indent}data\t${JSON.stringify(err.data)}\n`;
471471
}
472-
if (err.cause && !utils.isEmptyObject(err.cause)) {
472+
if (err.cause) {
473473
output += `${indent}cause: `;
474474
if (err.cause instanceof ErrorPolykey) {
475475
err = err.cause;

0 commit comments

Comments
 (0)