Fixed #28 - Updated action dependencies to fix security hole

This commit is contained in:
Drew Heavner
2020-10-09 13:54:10 +00:00
committed by GitHub
parent bd52e5d4c5
commit 50d773b7c2
50 changed files with 14153 additions and 307 deletions

View File

@@ -24,7 +24,7 @@ function readLocalizedReleaseNotes(whatsNewDir) {
return __awaiter(this, void 0, void 0, function* () {
if (whatsNewDir != undefined && whatsNewDir.length > 0) {
const releaseNotes = fs.readdirSync(whatsNewDir)
.filter(value => /whatsnew-.*-.{2}\b/.test(value));
.filter(value => /whatsnew-.*-.{2,3}\b/.test(value));
const pattern = /whatsnew-(?<local>.*-.*)/;
let localizedReleaseNotes = [];
core.debug(`Found files: ${releaseNotes}`);