update error text

This commit is contained in:
Ben Irvin 2023-03-08 10:38:37 +01:00
parent ac4e688995
commit 63d34a7702

View File

@ -320,7 +320,7 @@ program
},
]);
if (!answers.fromToken?.length) {
exitWith(1, 'No source token entered, aborting transfer.');
exitWith(1, 'No token provided for remote source, aborting transfer.');
}
thisCommand.opts().fromToken = answers.fromToken;
}
@ -343,7 +343,7 @@ program
},
]);
if (!answers.toToken?.length) {
exitWith(1, 'No destination token entered, aborting transfer.');
exitWith(1, 'No token provided for remote destination, aborting transfer.');
}
thisCommand.opts().toToken = answers.toToken;
}