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
|
||||
function replaceIllegalChars(string) {
|
||||
// TODO: check function, seems like it doesn't work at all
|
||||
return string.replace(/[/\\:*?"<>|]/g, '-');
|
||||
}
|
||||
|
||||
|
@ -167,4 +168,4 @@ exports.moveFile = moveFile;
|
|||
exports.getPathByMetadata = getPathByMetadata;
|
||||
exports.frontFill = frontFill;
|
||||
exports.readDirRecursive = readDirRecursive;
|
||||
exports.getTimeDiff = getTimeDiff;
|
||||
exports.getTimeDiff = getTimeDiff;
|
||||
|
|
Loading…
Reference in a new issue