grep works with command

updated build scripts
acceptence tests break, files are written as root when user is node
This commit is contained in:
Henry Oswald
2018-03-29 13:07:55 +01:00
parent b5a7eabaab
commit b330ee2d5b
10 changed files with 47 additions and 32 deletions

View File

@@ -120,7 +120,13 @@ module.exports = ResourceWriter =
logger.err err:err, project_id:project_id, path:path, resource_url:resource.url, modified:resource.modified, "error downloading file for resources"
callback() #try and continue compiling even if http resource can not be downloaded at this time
else
process = require("process")
console.log "writing file out", path, process.getuid()
fs.writeFile path, resource.content, callback
try
result = fs.lstatSync(path)
console.log "path stats", result
catch e
checkPath: (basePath, resourcePath, callback) ->
path = Path.normalize(Path.join(basePath, resourcePath))