From c8ff2196ec378a964eed54aac29776ef7d7a9084 Mon Sep 17 00:00:00 2001 From: Victor Powell Date: Tue, 22 Jan 2013 17:42:25 -0800 Subject: [PATCH] added error if component is missing a name --- bin/component-build | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/component-build b/bin/component-build index 02d3dcbc..c8db7328 100755 --- a/bin/component-build +++ b/bin/component-build @@ -47,6 +47,8 @@ program.parse(process.argv); var conf = require(path.resolve('component.json')); +if(!conf.name) throw new Error("This component is missing a name."); + // standalone var standalone = program.standalone;