Skip to content

Commit 0a01fd0

Browse files
committed
ci: fix typos allowlist and install-script syntax check
Allowlist 'iterm' (iTerm2 identifier) for the whole-repo spell check, and initialize the pwsh error variable in the install-script smoke so ParseFile's [ref] argument is valid.
1 parent 3d237a4 commit 0a01fd0

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/install-smoke.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ jobs:
3636
3737
- name: Check PowerShell syntax
3838
run: |
39-
pwsh -NoProfile -Command '[void][System.Management.Automation.Language.Parser]::ParseFile("apps/pythinker-web/public/install.ps1", [ref]$null, [ref]$errs); if ($errs.Count) { $errs; exit 1 }'
39+
pwsh -NoProfile -Command '$errs = $null; [void][System.Management.Automation.Language.Parser]::ParseFile("apps/pythinker-web/public/install.ps1", [ref]$null, [ref]$errs); if ($errs.Count) { $errs; exit 1 }'

_typos.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,4 @@ nd = "nd" # ndJsonStream, `Nd` cron interval token
2525
dows = "dows" # formatDows — days-of-week (cron)
2626
fo = "fo" # `/FO` flag of Windows schtasks
2727
pn = "pn" # "PNGs" tokenized as PN by the checker
28+
iterm = "iterm" # iTerm2 terminal app identifier

0 commit comments

Comments
 (0)