fix valid-email path

This commit is contained in:
Eugene Mirotin 2017-05-20 00:19:31 +03:00
parent 4b5240d8cd
commit 2d729a82a0
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ limitations under the License.
*/
var validEmail;
validEmail = require('valid-email');
validEmail = require('@resin.io/valid-email');
exports.validateEmail = function(input) {
if (!validEmail(input)) {

View File

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
###
validEmail = require('valid-email')
validEmail = require('@resin.io/valid-email')
exports.validateEmail = (input) ->
if not validEmail(input)