Merge pull request #87 from TheDammedGamer/master

Filtering out Pipe Symbol in file names
This commit is contained in:
Manoël Trapier
2018-08-13 15:36:35 +01:00
committed by GitHub

View File

@@ -66,7 +66,7 @@ function fileExist(path: string)
function sanitiseFileName(str: string)
{
return str.replace(/[\/':\?\*"<>\\\.]/g, '_');
return str.replace(/[\/':\?\*"<>\\\.\|]/g, '_');
}
/**