diff options
author | Samy Pessé <samypesse@gmail.com> | 2014-04-13 23:55:13 +0200 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2014-04-13 23:55:13 +0200 |
commit | 1bbef540157b513d3e336325a3d636885e15357e (patch) | |
tree | 2586d4644da19f7be18d503880719012cd4bf557 | |
parent | 3c7cae6262fdbc2dd3c9944661097d7cee60d9ce (diff) | |
download | gitbook-1bbef540157b513d3e336325a3d636885e15357e.zip gitbook-1bbef540157b513d3e336325a3d636885e15357e.tar.gz gitbook-1bbef540157b513d3e336325a3d636885e15357e.tar.bz2 |
Remove logs from core module
-rw-r--r-- | lib/generate/index.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/generate/index.js b/lib/generate/index.js index ba0e340..b357007 100644 --- a/lib/generate/index.js +++ b/lib/generate/index.js @@ -157,7 +157,6 @@ var generateFile = function(options) { output: null, extension: null }); - console.log(options); Q.nfcall(tmp.dir) .then(function(tmpDir) { @@ -180,8 +179,7 @@ var generateFile = function(options) { _outputFile = _outputFile.slice(0, -path.extname(_outputFile).length)+"_"+lang+path.extname(_outputFile); _tmpDir = path.join(_tmpDir, lang); } - - console.log("generating", _outputFile); + return fs.copy( path.join(_tmpDir, "index."+ext), _outputFile |