Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions src/commands/channels/presence/enter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,12 +193,9 @@ export default class ChannelsPresenceEnter extends AblyBaseCommand {
}
}
if (flags["show-others"]) {
this.logListening(
"Listening for presence events. Press Ctrl+C to exit.",
flags,
);
this.logListening("Listening for presence events.", flags);
} else {
this.logHolding("Holding presence. Press Ctrl+C to exit.", flags);
this.logHolding("Holding presence.", flags);
}

// Wait until the user interrupts or the optional duration elapses
Expand Down
2 changes: 1 addition & 1 deletion src/commands/rooms/presence/enter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ export default class RoomsPresenceEnter extends ChatBaseCommand {
if (flags["show-others"]) {
this.logListening("Listening for presence events.", flags);
} else {
this.logHolding("Holding presence. Press Ctrl+C to exit.", flags);
this.logHolding("Holding presence.", flags);
}

// Wait until the user interrupts or the optional duration elapses
Expand Down
4 changes: 1 addition & 3 deletions src/commands/spaces/cursors/set.ts
Original file line number Diff line number Diff line change
Expand Up @@ -273,9 +273,7 @@ export default class SpacesCursorsSet extends SpacesBaseCommand {

// Hold in both simulate and non-simulate modes
this.logHolding(
flags.simulate
? "Simulating cursor movement. Press Ctrl+C to exit."
: "Holding cursor. Press Ctrl+C to exit.",
flags.simulate ? "Simulating cursor movement." : "Holding cursor.",
flags,
);

Expand Down
2 changes: 1 addition & 1 deletion src/commands/spaces/locations/set.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export default class SpacesLocationsSet extends SpacesBaseCommand {
);
this.log(`${formatLabel("Location")} ${JSON.stringify(location)}`);
}
this.logHolding("Holding location. Press Ctrl+C to exit.", flags);
this.logHolding("Holding location.", flags);

await this.waitAndTrackCleanup(flags, "location", flags.duration);
} catch (error) {
Expand Down
2 changes: 1 addition & 1 deletion src/commands/spaces/locks/acquire.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export default class SpacesLocksAcquire extends SpacesBaseCommand {
);
this.log(formatLockBlock(lock));
}
this.logHolding("Holding lock. Press Ctrl+C to exit.", flags);
this.logHolding("Holding lock.", flags);
} catch (error) {
this.fail(error, flags, "lockAcquire", {
lockId,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/spaces/members/enter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export default class SpacesMembersEnter extends SpacesBaseCommand {
this.log(`${formatLabel("Profile")} ${JSON.stringify(profileData)}`);
}
}
this.logHolding("Holding presence. Press Ctrl+C to exit.", flags);
this.logHolding("Holding presence.", flags);

// Wait until the user interrupts or the optional duration elapses
await this.waitAndTrackCleanup(flags, "member", flags.duration);
Expand Down
Loading