Fix a missing invalid char for filename for windows ('\')

This commit is contained in:
Godzil 2018-08-05 09:27:46 +01:00
parent ebe671ff5b
commit 4193643306

View File

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