Skip to content

Commit

Permalink
fix logs
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcos20 committed Apr 28, 2021
1 parent e31b31e commit 8f7d426
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ async function main({ workflow: workflowPath, path, workflowid, verbose }) {
fs.mkdirSync(logsDir)
fs.chmodSync(logsDir, 777)
// create the algo log as well
fs.writeFileSync(`${path}/logs/algorithm.log`, '');
const algoLogPath = `${path}/logs/algorithm.log`
fs.writeFileSync(algoLogPath, '');
fs.chmodSync(algoLogPath, 777)
}
catch (e) { console.error(e) }
const ddoDir = `${path}/ddos`
Expand Down

0 comments on commit 8f7d426

Please sign in to comment.