Bugfix: double-negative in directory-creation check
This commit is contained in:
parent
f402fe6195
commit
629549910d
1 changed files with 1 additions and 1 deletions
|
@ -365,7 +365,7 @@ const createDirIfNotExist = async (client, folder) => {
|
||||||
console.debug(`Noting missing subdirectory: ${folder}`)
|
console.debug(`Noting missing subdirectory: ${folder}`)
|
||||||
|
|
||||||
// first, create the parent directory (if required)
|
// 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 :-/
|
// if not created, we fail too :-/
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue