Skip to content

Commit

Permalink
Fixed local build
Browse files Browse the repository at this point in the history
  • Loading branch information
1ec5 committed Apr 23, 2024
1 parent 0a9ba9e commit 9d842c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ var projects = [
];

var fs = require('fs');
let dataPath = `${process.env.TOOL_DATA_DIR}/public_html/data`;
let dataPath = process.env.TOOL_DATA_DIR ? `${process.env.TOOL_DATA_DIR}/public_html/data` : 'data';
var data = JSON.parse(fs.readFileSync(`${dataPath}/all.json`, 'utf8'));

console.log("Writing full site matrix...");
Expand Down

0 comments on commit 9d842c6

Please sign in to comment.