added todo
This commit is contained in:
parent
7ef69b163c
commit
ac49233bf9
1 changed files with 2 additions and 1 deletions
|
@ -140,6 +140,7 @@ function frontFill(string, fill, length) {
|
||||||
|
|
||||||
// replace illegal characters
|
// replace illegal characters
|
||||||
function replaceIllegalChars(string) {
|
function replaceIllegalChars(string) {
|
||||||
|
// TODO: check function, seems like it doesn't work at all
|
||||||
return string.replace(/[/\\:*?"<>|]/g, '-');
|
return string.replace(/[/\\:*?"<>|]/g, '-');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue