remove some console.logs
This commit is contained in:
@@ -133,7 +133,6 @@ resCacher =
|
|||||||
if Settings.smokeTest
|
if Settings.smokeTest
|
||||||
do runSmokeTest = ->
|
do runSmokeTest = ->
|
||||||
logger.log("running smoke tests")
|
logger.log("running smoke tests")
|
||||||
console.log(__dirname, __filename)
|
|
||||||
smokeTest.run(require.resolve(__dirname + "/test/smoke/js/SmokeTests.js"))({}, resCacher)
|
smokeTest.run(require.resolve(__dirname + "/test/smoke/js/SmokeTests.js"))({}, resCacher)
|
||||||
setTimeout(runSmokeTest, 30 * 1000)
|
setTimeout(runSmokeTest, 30 * 1000)
|
||||||
|
|
||||||
|
|||||||
@@ -121,11 +121,9 @@ module.exports = ResourceWriter =
|
|||||||
callback() #try and continue compiling even if http resource can not be downloaded at this time
|
callback() #try and continue compiling even if http resource can not be downloaded at this time
|
||||||
else
|
else
|
||||||
process = require("process")
|
process = require("process")
|
||||||
console.log "writing file out", path, process.getuid()
|
|
||||||
fs.writeFile path, resource.content, callback
|
fs.writeFile path, resource.content, callback
|
||||||
try
|
try
|
||||||
result = fs.lstatSync(path)
|
result = fs.lstatSync(path)
|
||||||
console.log "path stats", result
|
|
||||||
catch e
|
catch e
|
||||||
|
|
||||||
checkPath: (basePath, resourcePath, callback) ->
|
checkPath: (basePath, resourcePath, callback) ->
|
||||||
|
|||||||
@@ -36,7 +36,6 @@ module.exports = UrlFetcher =
|
|||||||
logger.log url:url, filePath: filePath, "finished downloading file into cache"
|
logger.log url:url, filePath: filePath, "finished downloading file into cache"
|
||||||
|
|
||||||
urlStream.on "response", (res) ->
|
urlStream.on "response", (res) ->
|
||||||
console.log
|
|
||||||
if res.statusCode >= 200 and res.statusCode < 300
|
if res.statusCode >= 200 and res.statusCode < 300
|
||||||
fileStream = fs.createWriteStream(filePath)
|
fileStream = fs.createWriteStream(filePath)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user