grep works with command
updated build scripts acceptence tests break, files are written as root when user is node
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user