Comparing version 7.1.0 to 8.0.0
@@ -83,5 +83,12 @@ /** | ||
catch (e){ | ||
// Ignore the error for now, it mayeb should forward to the | ||
// catchall error exit eventually (...although probably not- | ||
// this case should never happen) | ||
// Ignore the error unless it's `E_UNKNOWN_TYPE`. | ||
if (e.code === 'E_UNKNOWN_TYPE') { | ||
// Avoid recursive loops | ||
if (exitName === 'error') { | ||
value = new Error('Could not infer type from `error` exit example-- proceeing as if the example was undefined, and passing back this error as the output value.'); | ||
} | ||
else { | ||
return memo.error(new Error('Could not infer type from `'+exitName+'` exit example-- proceeding as if the example was undefined, and passing back this error as the output value.')); | ||
} | ||
} | ||
} | ||
@@ -88,0 +95,0 @@ } |
{ | ||
"name": "machine", | ||
"version": "7.1.0", | ||
"version": "8.0.0", | ||
"description": "Configure and execute machines", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
70952
1613