everything that happens here is nice and not crimes

Commit 3062bfdd authored by Alexandra Catalina's avatar Alexandra Catalina 🎱

fix shared data dir

parent 71f331bf
......@@ -5,5 +5,8 @@ log
sandbox
tmp
shared/data/*
!shared/data/.keep
data/*
!data/.keep
......@@ -6,8 +6,9 @@ log
node_modules
provision/*.retry
sandbox
shared
tmp
shared/data/*
!shared/data/.keep
data/*
!data/.keep
......@@ -21,7 +21,7 @@ const log = require('./log.js')
module.exports = function (id) {
try {
return fs.readdirSync(`${__dirname}/../data/${id}`).reverse();
return fs.readdirSync(`${__dirname}/../shared/data/${id}`).reverse();
} catch (err) {
log.error(err)
return []
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment