Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit d378213

Browse files
committed
Session list tweaks
1 parent 4d884c2 commit d378213

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cli/script/command-executor.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ function accessKeyRemove(command: cli.IAccessKeyRemoveCommand): Promise<void> {
153153
if (wasConfirmed) {
154154
return sdk.removeAccessKey(command.accessKey)
155155
.then((): void => {
156-
log("Successfully removed the \"" + command.accessKey + "\" access key.");
156+
log(`Successfully removed the "${command.accessKey}" access key.`);
157157
});
158158
}
159159

@@ -1430,14 +1430,14 @@ function sessionList(command: cli.ISessionListCommand): Promise<void> {
14301430

14311431
function sessionRemove(command: cli.ISessionRemoveCommand): Promise<void> {
14321432
if (os.hostname() === command.machineName) {
1433-
throw new Error("Cannot remove the current session via this command. Please run 'code-push logout' if you would like to end it.");
1433+
throw new Error("Cannot remove the current login session via this command. Please run 'code-push logout' instead.");
14341434
} else {
14351435
return confirm()
14361436
.then((wasConfirmed: boolean): Promise<void> => {
14371437
if (wasConfirmed) {
14381438
return sdk.removeSession(command.machineName)
14391439
.then((): void => {
1440-
log(`Successfully removed the existing session for "${command.machineName}".`);
1440+
log(`Successfully removed the login session for "${command.machineName}".`);
14411441
});
14421442
}
14431443

0 commit comments

Comments
 (0)