From 0aaa08e606cce7e05510a2bc54ec8651fb7d7ccf Mon Sep 17 00:00:00 2001 From: Adam Rensel Date: Mon, 10 May 2021 23:16:11 -0400 Subject: [PATCH] file paths --- .github/workflows/src/app/fetch-data.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/src/app/fetch-data.js b/.github/workflows/src/app/fetch-data.js index 2c053d10..d58ac3d1 100644 --- a/.github/workflows/src/app/fetch-data.js +++ b/.github/workflows/src/app/fetch-data.js @@ -1,5 +1,5 @@ -const airtable = require('./app/airtable.js'); -const actionEvent = require('./app/action-event.js'); +const airtable = require('./airtable.js'); +const actionEvent = require('./action-event.js'); const fs = require('fs') (async ()=>{ @@ -7,7 +7,7 @@ const fs = require('fs') const grad2021 = airtable.fetchAll2021(actionEvent.pullAuthor) const content = JSON.stringify({grad2020, grad2021}) - fs.writeFile('app/data/airtable.json', content, err => { + fs.writeFile('./data/airtable.json', content, err => { if (err) { console.error(err) process.exit(1) -- knotmirror 0.0.1