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
commit 1f20e028e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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