Skip to content

Allow TEMP and TMP envvars on windows - #126

Merged
harendra-kumar merged 2 commits into
masterfrom
updates
Oct 22, 2026
Merged

harendra-kumar merged 2 commits into
masterfrom
updates

Conversation

@harendra-kumar

Copy link
Copy Markdown
Member

No description provided.

install_hlint and install_docspec set TEMP to a relative download directory
and leave it set after they return. TEMP is the Windows temporary directory
variable, so programs run later in the same shell would use that directory,
which the EXIT trap removes. Use HLINT_TMP_DIR and DOCSPEC_TMP_DIR instead.
Without them GetTempPath falls back to the Windows directory, so programs
create temporary files in C:\Windows. Pass them through in the GitHub
workflow template.
@harendra-kumar
harendra-kumar merged commit d91731c into master Oct 22, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant