Fix a missing invalid char for filename for windows ('\')
This commit is contained in:
parent
ebe671ff5b
commit
4193643306
@ -66,7 +66,7 @@ function fileExist(path: string)
|
|||||||
|
|
||||||
function sanitiseFileName(str: string)
|
function sanitiseFileName(str: string)
|
||||||
{
|
{
|
||||||
return str.replace(/[\/':\?\*"<>\.]/g, '_');
|
return str.replace(/[\/':\?\*"<>\\\.]/g, '_');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user