Regex change
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
d3879635a8
commit
ddb77a5c05
|
@ -47,7 +47,7 @@ module.exports = Self => {
|
||||||
if (!image) return;
|
if (!image) return;
|
||||||
|
|
||||||
const srcFile = image.url;
|
const srcFile = image.url;
|
||||||
const fileName = srcFile.replace(/\.|\/|:|\?|\\/g, '');
|
const fileName = srcFile.replace(/\.|\/|:|\?|\\|=/g, '');
|
||||||
const file = `${fileName}.png`;
|
const file = `${fileName}.png`;
|
||||||
const filePath = path.join(tempPath, file);
|
const filePath = path.join(tempPath, file);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue