Merge pull request #87 from TheDammedGamer/master
Filtering out Pipe Symbol in file names
This commit is contained in:
commit
1f20e028e1
@ -66,7 +66,7 @@ function fileExist(path: string)
|
||||
|
||||
function sanitiseFileName(str: string)
|
||||
{
|
||||
return str.replace(/[\/':\?\*"<>\\\.]/g, '_');
|
||||
return str.replace(/[\/':\?\*"<>\\\.\|]/g, '_');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user