From ac49233bf9085b5f5a114e87e3329c70be72759d Mon Sep 17 00:00:00 2001 From: velvettear Date: Tue, 28 Mar 2017 18:11:00 +0200 Subject: [PATCH] added todo --- lib/util.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/util.js b/lib/util.js index 947667f..ebfd251 100644 --- a/lib/util.js +++ b/lib/util.js @@ -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; \ No newline at end of file +exports.getTimeDiff = getTimeDiff;