diff --git a/tools/build.js b/tools/build.js index 721f513..97df510 100644 --- a/tools/build.js +++ b/tools/build.js @@ -254,7 +254,7 @@ function buildBrowser(sources, dir, tmpDir, depsRequireCode, minify, npmPackage, var root = process.cwd(); // Since rm -rf is called, better be sure... -if (path.basename(root).toLowerCase().indexOf("bluebird") !== 0) { +if (path.basename(root).toLowerCase().indexOf("node-bluebird") !== 0) { throw new Error("cwd must be set to bluebird project root. cwd is currently\n\n" + " " + process.cwd() + "\n"); }