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

Commit a0e7191

Browse files
committed
Fixed issue of only first whitespace being highlighted
1 parent adfa222 commit a0e7191

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

GHUpdateChecker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import axios from 'axios';
22

3-
export const VERSION_IDENTIFIER = "v1.2.0";
3+
export const VERSION_IDENTIFIER = "v1.2.1";
44

55
export async function checkForUpdates(): Promise<string> {
66
const response = await axios.get("https://api.github.com/repos/c0derMo/SimpleCodeTester-CLI/releases/latest");

index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ async function checkCode(): Promise<void> {
107107
console.log(chalk.gray.italic(`$$ ${line.content}`));
108108
break;
109109
case "INPUT":
110-
console.log(chalk.gray("> ") + chalk.greenBright(line.content.replace(/\s/, "␣")));
110+
console.log(chalk.gray("> ") + chalk.greenBright(line.content.replace(/\s/g, "␣")));
111111
break;
112112
case "OUTPUT":
113113
console.log(chalk.green(` ${line.content}`));

0 commit comments

Comments
 (0)