Permalink
Browse files

fix deployment of external libraries

Invoke forEach with a function as an arguments, not the return value if said function.
Enyo-DCO-1.1-Signed-off-by: Johann Jacobsohn johann.jacobsohn@directbox.com
  • Loading branch information...
1 parent 3fd3a69 commit ef54a0585c8b4461415221eb20f3492589fbe164 @johannjacobsohn johannjacobsohn committed with asnowfix Nov 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 tools/deploy.js
View
@@ -182,7 +182,7 @@ shell.cp('-r', path.join(sourceDir, 'assets'), buildDir, outDir);
var libSrcDir = path.join(sourceDir, 'lib');
if(shell.test('-d', libSrcDir)) {
- shell.ls(libSrcDir).forEach(deployLib(lib));
+ shell.ls(libSrcDir).forEach(deployLib);
}
function deployLib(lib) {

0 comments on commit ef54a05

Please sign in to comment.