Fix typo in code

This commit is contained in:
Daniel Tschinder 2015-09-01 16:28:29 +02:00
parent 947ded1563
commit ab1dd2c090

View File

@ -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}`));
}