(profile: string | null)
| 149 | } |
| 150 | |
| 151 | setActiveProfile(profile: string | null): void { |
| 152 | this.activeProfile = profile; |
| 153 | this.revision += 1; |
| 154 | if (profile != null && this.profiles[profile] == null) { |
| 155 | this.profiles[profile] = {}; |
| 156 | } |
| 157 | log('info', `[Session] Active defaults profile: ${profile ?? 'global'}`); |
| 158 | } |
| 159 | |
| 160 | getRevision(): number { |
| 161 | return this.revision; |
no test coverage detected