Browse Source

File mode 0644 on pipeline products

pull/60/merge
Lal'C Mellk Mal 7 years ago
parent
commit
eabbbd165a
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      pipeline.js

+ 2
- 1
pipeline.js View File

@@ -59,7 +59,8 @@ function end_and_move_js(stream, dir, prefix, cb) {
function make_hashing_stream(cb) {
// ideally the stream would be returned immediately and handle
// this step internally...
tmp_file({dir: '.build', postfix: '.gen.js'}, function (err, tmp, fd) {
var opts = {dir: '.build', postfix: '.gen.js', mode: 0644};
tmp_file(opts, function (err, tmp, fd) {
if (err)
return cb(err);
var out = fs.createWriteStream(null, {fd: fd});


Loading…
Cancel
Save