Skip to content

Commit 9bd4ead

Browse files
committed
fix housekeeping scripts
1 parent cc9aac2 commit 9bd4ead

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

_housekeeping/build-all.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ function processFolder(folderPath) {
2929
}
3030

3131
folders.forEach((folder) => {
32-
const folderPath = path.join(__dirname, folder);
32+
const folderPath = path.join(__dirname, "..", folder);
3333
processFolder(folderPath);
3434
});

_housekeeping/serve-all.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const fs = require("fs");
33
const path = require("path");
44
const { spawn } = require("child_process");
55

6-
const ROOT = __dirname;
6+
const ROOT = path.join(__dirname, "..");
77

88
function usage() {
99
console.log(

_housekeeping/upgrade-all.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,5 @@ function processFolder(folderPath) {
3939
}
4040
}
4141

42-
const rootFolder = path.join(__dirname);
42+
const rootFolder = path.join(__dirname, "..");
4343
processFolder(rootFolder);

0 commit comments

Comments
 (0)