Skip to content

Commit

Permalink
Update features-to-json.js to use a hardcoded path for features file
Browse files Browse the repository at this point in the history
Signed-off-by: Lee Calcote <[email protected]>
  • Loading branch information
leecalcote committed Dec 6, 2024
1 parent 52aa73a commit e95e9a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/build/features-to-json.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ async function processCSV() {
}).filter(Boolean);

// Read existing JSON data
const featuresFile = process.env.FEATURES_FILE;
//const featuresFile = "src/sections/Pricing/feature_data.json";
// const featuresFile = process.env.FEATURES_FILE;
const featuresFile = "src/sections/Pricing/feature_data.json";
let existingData = [];
if (await fs.access(featuresFile).then(() => true, () => false)) {
existingData = JSON.parse(await fs.readFile(featuresFile, "utf8"));
Expand Down

0 comments on commit e95e9a7

Please sign in to comment.