common-types
Advanced tools
Comparing version 1.7.0 to 1.7.1
@@ -5,3 +5,3 @@ "use strict"; | ||
const messagePrefix = `[${code}]: `; | ||
const e = new AppError(priorError ? messagePrefix + message : messagePrefix + priorError.message + message); | ||
const e = new AppError(!priorError ? messagePrefix + message : messagePrefix + priorError.message + message); | ||
e.name = priorError ? priorError.name : "AppError"; | ||
@@ -8,0 +8,0 @@ e.code = code; |
{ | ||
"name": "common-types", | ||
"version": "1.7.0", | ||
"version": "1.7.1", | ||
"description": "Common types not included in Typescript", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/lifegadget/common-types", |
Sorry, the diff of this file is not supported yet
26094