aws-lambda-mock-context
Advanced tools
Comparing version 1.1.0 to 2.0.0
@@ -37,2 +37,6 @@ 'use strict'; | ||
fail: function (err) { | ||
if (typeof err === 'string') { | ||
err = new Error(err); | ||
} | ||
deferred.reject(err); | ||
@@ -39,0 +43,0 @@ }, |
{ | ||
"name": "aws-lambda-mock-context", | ||
"version": "1.1.0", | ||
"version": "2.0.0", | ||
"description": "AWS Lambda mock context object", | ||
@@ -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
4699
49