diff --git a/functions.js b/functions.js index 0efcc80..cdf7d31 100644 --- a/functions.js +++ b/functions.js @@ -365,7 +365,7 @@ const createDirIfNotExist = async (client, folder) => { console.debug(`Noting missing subdirectory: ${folder}`) // first, create the parent directory (if required) - if (!!await createDirIfNotExist(client, path.dirname(folder))) { + if (!await createDirIfNotExist(client, path.dirname(folder))) { // if not created, we fail too :-/ return false }