(filePath, data)
| 68 | // (locked down to their own access), which will crash exec() when it tries |
| 69 | // to write to the files. |
| 70 | function writeFileLockedDown(filePath, data) { |
| 71 | fs.writeFileSync(filePath, data, { |
| 72 | encoding: 'utf8', |
| 73 | mode: parseInt('600', 8), |
| 74 | }); |
| 75 | } |
| 76 | writeFileLockedDown(stdoutFile, ''); |
| 77 | writeFileLockedDown(stderrFile, ''); |
| 78 | writeFileLockedDown(paramsFile, JSON.stringify(paramsToSerialize)); |
no outgoing calls
no test coverage detected
searching dependent graphs…