Browse Source

Merge pull request #87 from TheDammedGamer/master

Filtering out Pipe Symbol in file names
Manoël Trapier 5 years ago
parent
commit
1f20e028e1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/episode.ts

+ 1 - 1
src/episode.ts

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