Skip to content
Closed
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
6 changes: 3 additions & 3 deletions src/logtask/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export default class LogTask {
/**
* Map of ingroup settings per task name.
*/
private static ingroupSettings = new Map<string, boolean>();
private groupActive = false;
Comment thread
Jamie-BitFlight marked this conversation as resolved.

/**
* The width of the indentation for log messages.
Expand Down Expand Up @@ -169,14 +169,14 @@ export default class LogTask {
* Gets the ingroup setting for the task.
*/
get ingroup(): boolean {
return LogTask.ingroupSettings.get(this.name) ?? false;
return this.groupActive;
}

/**
* Sets the ingroup setting for this task.
*/
set ingroup(value: boolean) {
LogTask.ingroupSettings.set(this.name, value);
this.groupActive = value;
}

getMessageString(step: string, desc: string, emojiStr: string): string {
Expand Down
Loading