Regex change
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Joan Sanchez 2021-02-24 16:04:09 +01:00
parent ddb77a5c05
commit c2a2204437
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ module.exports = Self => {
if (!image) return;
const srcFile = image.url;
const fileName = srcFile.replace(/\.|\/|:|\?|\\|=/g, '');
const fileName = srcFile.replace(/\.|\/|:|\?|\\|=|%/g, '');
const file = `${fileName}.png`;
const filePath = path.join(tempPath, file);