Skip to content

Commit ffd1960

Browse files
authored
chore(doctor): deprecate ionic doctor command (#4907)
1 parent f34da62 commit ffd1960

File tree

1 file changed

+2
-0
lines changed
  • packages/@ionic/cli/src/commands/doctor

1 file changed

+2
-0
lines changed

packages/@ionic/cli/src/commands/doctor/base.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ export abstract class DoctorCommand extends Command {
3030
const tasks = this.createTaskChain();
3131
const isLoggedIn = this.env.session.isLoggedIn();
3232

33+
this.env.log.warn(`The ${input('ionic doctor')} command has been deprecated and will be removed in an upcoming major release of the Ionic CLI. Developers can safely remove any references to this command as many of the checks are no longer needed.`);
34+
3335
if (!isLoggedIn) {
3436
this.env.log.warn(`For best results, please make sure you're logged in to Ionic.\nSome issues can't be detected without authentication. Run:\n\n ${input('ionic login')}`);
3537
}

0 commit comments

Comments
 (0)