From ab1dd2c0907a369fad2cc46d08b3db2cd6ace266 Mon Sep 17 00:00:00 2001 From: Daniel Tschinder Date: Tue, 1 Sep 2015 16:28:29 +0200 Subject: [PATCH] Fix typo in code --- packages/babel/src/transformation/plugin.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/babel/src/transformation/plugin.js b/packages/babel/src/transformation/plugin.js index 0b0182848c..c61222ca43 100644 --- a/packages/babel/src/transformation/plugin.js +++ b/packages/babel/src/transformation/plugin.js @@ -12,7 +12,7 @@ const VALID_PLUGIN_PROPERTIES = [ "post", "pre" ]; -const VALID_METADATA_PROPERTES = [ +const VALID_METADATA_PROPERTIES = [ "dependencies", "optional", "stage", @@ -70,7 +70,7 @@ export default class Plugin { } for (let key in plugin.metadata) { - if (VALID_METADATA_PROPERTES.indexOf(key) >= 0) continue; + if (VALID_METADATA_PROPERTIES.indexOf(key) >= 0) continue; throw new Error(messages.get("pluginInvalidProperty", name, `metadata.${key}`)); }