Skip to content

Commit 44fd2d9

Browse files
committed
Include file names, not full paths in release notes
1 parent da5ac70 commit 44fd2d9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/virustotal.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@ jobs:
112112
core.warning(`Skipping invalid analysis line: ${analysisLine}`);
113113
return;
114114
}
115-
const [_, filename, analysisURL] = match;
115+
const [_, absoluteFilePath, analysisURL] = match;
116+
const filename = absoluteFilePath.split(/[/\\]/).pop();
116117
detailsLines.push(`* [${filename}](${analysisURL})`);
117118
});
118119
if (detailsLines.length === 0) {

0 commit comments

Comments
 (0)