Skip to content

Commit 7fde13f

Browse files
committed
Use src + basename in header to avoid issues on Windows
1 parent dfa61e7 commit 7fde13f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ const entryPointsPlugin = {
150150
const template = await readFile(join(SRC_DIR, templatePath), "utf-8");
151151

152152
const makeHeader = (sourceFile) =>
153-
`// Automatically generated from '${templatePath}' for '${sourceFile}'.\n\n`;
153+
`// Automatically generated from '${templatePath}' for 'src/${basename(sourceFile)}'.\n\n`;
154154

155155
// Write entry point stubs for each action.
156156
for (const action of actions) {

0 commit comments

Comments
 (0)