Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
keeramis committed Jun 17, 2024
1 parent b216bd6 commit b25d7c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cmd/device-protection.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,14 +174,14 @@ module.exports = class DeviceProtectionCommands extends CLICommandBase {
}

if (s.protected && !s.overridden) {
this.ui.stdout.write(`${os.EOL}Device is protected${os.EOL}${os.EOL}`);
this.ui.stdout.write(`Device is protected${os.EOL}${os.EOL}`);
return;
}

if (s.overridden) {
// terminate unlock
await this.device.unprotectDevice({ action: 'reset' });
this.ui.stdout.write(`${os.EOL}Device is protected${os.EOL}${os.EOL}`);
this.ui.stdout.write(`Device is protected${os.EOL}${os.EOL}`);
const success = await this._markAsDevelopmentDevice(false);
if (!success) {
this.ui.stdout.write(`Failed to remove device from development mode. Ensure it is not in development mode for protection to work properly.${os.EOL}${os.EOL}`);
Expand Down

0 comments on commit b25d7c9

Please sign in to comment.