Skip to content

Commit 9e5b3df

Browse files
committed
fix node24 tasks publish
1 parent f231784 commit 9e5b3df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/tasks-gen/scripts/inference-codegen.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ const allTasks = await Promise.all(
270270
(await fs.readdir(tasksDir, { withFileTypes: true }))
271271
.filter((entry) => entry.isDirectory())
272272
.filter((entry) => entry.name !== "placeholder")
273-
.map(async (entry) => ({ task: entry.name, dirPath: path.join(entry.path, entry.name) }))
273+
.map(async (entry) => ({ task: entry.name, dirPath: path.join(entry.parentPath, entry.name) }))
274274
);
275275
const allSpecFiles = [
276276
path.join(tasksDir, "common-definitions.json"),

0 commit comments

Comments
 (0)