From 567634ad9236a918cb62a49cf49b8afa6cd2b9a9 Mon Sep 17 00:00:00 2001 From: Motion <21dmurphy@cr.k12.ia.us> Date: Thu, 23 Feb 2017 17:47:19 -0600 Subject: [PATCH] Fix a typo on line 70 (#144) [FIX] Fix a typo on line 70 --- CHANGELOG.md | 1 + functions/validateData.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6644a6d6..095fb0fd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -45,6 +45,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). - dataProviders renamed to Providers ### Fixed +- Fixed typo in validateData function - Fixed Default Conf initialize. (No longer outputs undefined) - Fixed invalid regex for prefixes in parseCommand - Fixed validateData Booleans. diff --git a/functions/validateData.js b/functions/validateData.js index 4fa7806d..b6190a05 100644 --- a/functions/validateData.js +++ b/functions/validateData.js @@ -67,7 +67,7 @@ module.exports = (data, properties, values) => { case "string": break; default: - throw new Error("unsuported"); + throw new Error("unsupported"); } }); };