diff --git a/src/lib/cmd/gettask.js b/src/lib/cmd/gettask.js index dc23b00..2fdbb6a 100644 --- a/src/lib/cmd/gettask.js +++ b/src/lib/cmd/gettask.js @@ -257,7 +257,7 @@ const getTask = async (options) => { } // Check if file exists - if ((await verifyFileExists(options.outputFileName)) === false) { + if ((await verifyFileExists(options.outputFileName, true)) === false) { // File doesn't exist } else if (!options.outputFileOverwrite) { // Target file exist. Ask if user wants to overwrite @@ -746,7 +746,7 @@ const getTask = async (options) => { } // Check if file exists - if ((await verifyFileExists(options.outputFileName)) === false) { + if ((await verifyFileExists(options.outputFileName, true)) === false) { // File doesn't exist } else if (!options.outputFileOverwrite) { // Target file exist. Ask if user wants to overwrite