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

Commit c62f915

Browse files
authored
Merge pull request #340 from tmc-cli/cli-context-aleksi
Cli context partial rename and readme change
2 parents 80855f4 + 2bfb643 commit c62f915

8 files changed

Lines changed: 620 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/tmc-cli/tmc-cli/master/LICENSE)
55
[![Coverage Status](https://coveralls.io/repos/github/tmc-cli/tmc-cli/badge.svg?branch=master)](https://coveralls.io/github/tmc-cli/tmc-cli?branch=master)
66
[![Build status](https://ci.appveyor.com/api/projects/status/np29sxc72y2f7d57?svg=true)](https://ci.appveyor.com/project/mikkomaa/tmc-cli)
7+
8+
[![tmc-cli logo](https://rawgit.com/tmc-cli/tmc-cli/master/docs/logo_plain.svg)](logo_plain.svg)
9+
710
#tmc-cli
811

912
TMC-CLI is the command-line client for University of Helsinki's Test My Code -framework. Test My Code is used by various online programming courses for exercise testing and submission.

docs/logo_plain.svg

Lines changed: 211 additions & 0 deletions
Loading

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>fi.helsinki.cs.tmc.cli</groupId>
55
<artifactId>tmc-cli</artifactId>
6-
<version>0.6.2</version>
6+
<version>0.6.3</version>
77
<packaging>jar</packaging>
88
<properties>
99
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

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)