change warn to log

This commit is contained in:
Ben Irvin 2023-01-12 15:58:53 +01:00
parent 53b3dbc923
commit 42c420b281

View File

@ -79,7 +79,7 @@ const confirmMessage = (message) => {
const opts = command.opts();
if (opts?.force) {
// attempt to mimic the inquirer prompt exactly
console.warn(`${green('?')} ${bold(message)} ${cyan('Yes')}`);
console.log(`${green('?')} ${bold(message)} ${cyan('Yes')}`);
return;
}