mirror of
https://github.com/github/codeql-action.git
synced 2026-05-17 16:50:23 +00:00
Use src + basename in header to avoid issues on Windows
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user