refactor: improve type safety and code style
Some checks failed
CI / build-and-test (push) Failing after 24m31s

This commit is contained in:
sokol
2026-02-20 11:22:56 +03:00
parent 1c27b68965
commit e4b44c7b5e
7 changed files with 30 additions and 22 deletions

View File

@@ -34,7 +34,7 @@ export class EnvBuilder implements IBuilder<Env> {
private params(): this {
const tag = `<parameter name="{name}" value="{val}" />`;
for (let p of this.src.params) {
for (const p of this.src.params) {
this.stack.push(this.ident);
this.stack.push(tag
.replace("{name}", p.name ?? "!ERR!")