github-username
Advanced tools
Comparing version 3.0.0 to 4.0.0
@@ -6,3 +6,3 @@ 'use strict'; | ||
if (!(typeof email === 'string' && email.includes('@'))) { | ||
throw new Error('Email required'); | ||
return Promise.reject(new Error('Email required')); | ||
} | ||
@@ -9,0 +9,0 @@ |
{ | ||
"name": "github-username", | ||
"version": "3.0.0", | ||
"version": "4.0.0", | ||
"description": "Get a GitHub username from an email address", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
3323