From e79362680320bfc56153d1fb119551161939a4d4 Mon Sep 17 00:00:00 2001 From: Chris Date: Fri, 18 May 2018 21:16:30 -0400 Subject: [PATCH] Updated fs paths. --- compatdb/app.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/compatdb/app.js b/compatdb/app.js index 9d41a2f..6e6778f 100644 --- a/compatdb/app.js +++ b/compatdb/app.js @@ -11,11 +11,12 @@ const exec = require('sync-exec'); const tenant = process.env.TENANT const fsPathCode = `./${tenant}-games-wiki/games` -const fsPathHugoContent = '../../site/content/game' -const fsPathHugoBoxart = '../../site/static/images/game/boxart' -const fsPathHugoIcon = '../../site/static/images/game/icons' -const fsPathHugoScreenshots = '../../site/static/images/screenshots0' -const fsPathHugoSavefiles = '../../site/static/savefiles/' +const fsPathHugo = '../../../site' +const fsPathHugoContent = `${fsPathHugo}/content/game` +const fsPathHugoBoxart = `${fsPathHugo}/static/images/game/boxart` +const fsPathHugoIcon = `${fsPathHugo}/static/images/game/icons` +const fsPathHugoScreenshots = `${fsPathHugo}/static/images/screenshots0` +const fsPathHugoSavefiles = `${fsPathHugo}/static/savefiles/` process.on('unhandledRejection', err => { logger.error('Unhandled rejection on process.');