From b08d994de8c6f3cfc84fd29bc4b412d4f2fec86e Mon Sep 17 00:00:00 2001 From: Robert Sese Date: Wed, 30 Jun 2021 17:35:09 -0500 Subject: [PATCH] Use path from repo root for Actions (#20224) Co-authored-by: James M. Greene --- script/graphql/update-files.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/graphql/update-files.js b/script/graphql/update-files.js index 408b45893b..cf15b91eee 100755 --- a/script/graphql/update-files.js +++ b/script/graphql/update-files.js @@ -8,7 +8,7 @@ const { execSync } = require('child_process') const graphqlDataDir = path.join(process.cwd(), 'data/graphql') const graphqlStaticDir = path.join(process.cwd(), 'lib/graphql/static') const { getContents, listMatchingRefs } = require('../helpers/git-utils') -const dataFilenames = JSON.parse(fs.readFileSync('./utils/data-filenames.json')) +const dataFilenames = JSON.parse(fs.readFileSync('./script/graphql/utils/data-filenames.json')) const allVersions = require('../../lib/all-versions') const processPreviews = require('./utils/process-previews') const processUpcomingChanges = require('./utils/process-upcoming-changes')