feat: parallelize dev ci cd artifact flow
This commit is contained in:
@@ -77,7 +77,8 @@ function usage() {
|
||||
}
|
||||
|
||||
async function readJson(relativePath) {
|
||||
return JSON.parse(await readFile(path.join(repoRoot, relativePath), "utf8"));
|
||||
const filePath = path.isAbsolute(relativePath) ? relativePath : path.join(repoRoot, relativePath);
|
||||
return JSON.parse(await readFile(filePath, "utf8"));
|
||||
}
|
||||
|
||||
async function writeJson(relativePath, value) {
|
||||
|
||||
Reference in New Issue
Block a user