Skip to content
Snippets Groups Projects
Commit 4c465e14 authored by Jonas Zohren's avatar Jonas Zohren :speech_balloon:
Browse files

Add logging

parent 79d88761
No related branches found
No related tags found
No related merge requests found
Pipeline #4120 passed
......@@ -121,6 +121,7 @@ async function main() {
// Save output
try {
await fs.promises.mkdir(path.join(repoPath, 'public/data/'), {recursive: true})
console.log('Created public/data')
await fs.promises.writeFile(path.join(repoPath, 'public/data/data.json'), outputString)
} catch (err) {
console.error('Could not write output to public folder in repo')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment