clipanion
Advanced tools
Comparing version 3.2.0 to 3.2.1
@@ -401,3 +401,3 @@ 'use strict'; | ||
var { colored, command = (_b = error[errorCommandSymbol]) !== null && _b !== void 0 ? _b : null } = _a === void 0 ? {} : _a; | ||
if (!(error instanceof Error)) | ||
if (!error || typeof error !== `object` || !(`stack` in error)) | ||
error = new Error(`Execution failed with a non-error rejection (rejected value: ${JSON.stringify(error)})`); | ||
@@ -404,0 +404,0 @@ let result = ``; |
@@ -15,3 +15,3 @@ { | ||
], | ||
"version": "3.2.0", | ||
"version": "3.2.1", | ||
"main": "lib/advanced/index", | ||
@@ -18,0 +18,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
223553