sync: wip changes

This commit is contained in:
binekrasik
2026-05-21 13:47:27 +02:00
parent 0577ee49cf
commit e0269c9b6a
7 changed files with 838 additions and 32 deletions

View File

@@ -6,11 +6,11 @@ export class Environment {
private variables: Record<string, string> = {}
private aliases: Record<string, string> = {}
SetVariable(name: string, value: string | null): void {
SetVariable(name: string, value: any | null): void {
if (value === null) {
// remove the variable if value is null
delete this.variables[name]
} else this.variables[name] = value
} else this.variables[name] = String(value)
}
GetVariable(name: string): string | null {