diff --git a/bin/index.js b/bin/index.js
index <HASH>..<HASH> 100755
--- a/bin/index.js
+++ b/bin/index.js
@@ -12,7 +12,7 @@ var libPkg = null;
 var libName = '';
 var moduleName = '';
 var dest = '';
-var format = [];
+var format = '';
 var entry = '';
 var files = [];
Fixes format being of the incorrect type