Use src + basename in header to avoid issues on Windows

This commit is contained in:
Michael B. Gale committed 2026-05-14 19:10:19 +01:00
1 parent dfa61e7305
commit 7fde13f26a
1 file changed
+1 -1
+1 -1
View File
@@ -150,7 +150,7 @@ const entryPointsPlugin = {
const template = await readFile(join(SRC_DIR, templatePath), "utf-8");
const makeHeader = (sourceFile) =>
`// Automatically generated from '${templatePath}' for '${sourceFile}'.\n\n`;
`// Automatically generated from '${templatePath}' for 'src/${basename(sourceFile)}'.\n\n`;
// Write entry point stubs for each action.
for (const action of actions) {