From bce9e3acb452b4de7ee4aec5eef0a907bb056797 Mon Sep 17 00:00:00 2001 From: Sergey Belov Date: Thu, 23 May 2013 21:32:00 +0300 Subject: [PATCH] bem create level command was failing on Node.js 0.10.x Fix #372 --- lib/commands/create/level.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/commands/create/level.js b/lib/commands/create/level.js index 20a973cb..33257d5a 100644 --- a/lib/commands/create/level.js +++ b/lib/commands/create/level.js @@ -13,6 +13,7 @@ module.exports = function() { .opt() .name('outputDir').short('o').long('output-dir') .title('output directory, cwd by default') + .def(process.cwd()) .val(function (d) { return PATH.join(d, PATH.dirSep); })