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

Commit 91ec4b9

Browse files
author
Aleksi Salmela
committed
Fix partially renamed variable.
1 parent 5ee2408 commit 91ec4b9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/fi/helsinki/cs/tmc/cli/CliContext.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,9 +192,9 @@ private boolean createTmcCore() {
192192
}
193193

194194
hasLogin = true;
195-
if (settings == null) {
195+
if (cachedSettings == null) {
196196
hasLogin = false;
197-
settings = new Settings();
197+
cachedSettings = new Settings();
198198
}
199199

200200
createTmcCore(cachedSettings);

0 commit comments

Comments
 (0)