mirror of
https://github.com/strapi/strapi.git
synced 2025-11-13 00:29:51 +00:00
change warn to log
This commit is contained in:
parent
53b3dbc923
commit
42c420b281
@ -79,7 +79,7 @@ const confirmMessage = (message) => {
|
|||||||
const opts = command.opts();
|
const opts = command.opts();
|
||||||
if (opts?.force) {
|
if (opts?.force) {
|
||||||
// attempt to mimic the inquirer prompt exactly
|
// attempt to mimic the inquirer prompt exactly
|
||||||
console.warn(`${green('?')} ${bold(message)} ${cyan('Yes')}`);
|
console.log(`${green('?')} ${bold(message)} ${cyan('Yes')}`);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user