awsm-mailer
Advanced tools
Comparing version 1.3.6 to 1.3.7
@@ -25,3 +25,3 @@ 'use strict'; | ||
if (!emailRegex.test(event.from) || !emailRegex.test(event.to)) { | ||
return cb(new Error('Please provide valid email addresses.')); | ||
throw new Error('Please provide valid email addresses.'); | ||
} | ||
@@ -28,0 +28,0 @@ |
{ | ||
"name": "awsm-mailer", | ||
"version": "1.3.6", | ||
"version": "1.3.7", | ||
"description": "AWSM package for sending emails.", | ||
@@ -5,0 +5,0 @@ "main": "lib/mailer.js", |
13987