Skip to content

Fix deno task check errors#95

Merged
uki00a merged 2 commits intouki00a:mainfrom
takahashim:fix-task-check
Dec 26, 2025
Merged

Fix deno task check errors#95
uki00a merged 2 commits intouki00a:mainfrom
takahashim:fix-task-check

Conversation

@takahashim
Copy link
Contributor

I am trying to use fresh-testing-library and found some errors when running deno task check.

I investigated and fixed the issues. Here are the details:

Changes

1. Fix demo/static/logo.svg formatting error

deno fmt --check was targeting demo/static/logo.svg, which caused a formatting error.

Fix: Added demo/static/* to fmt.exclude in deno.json.

2. Fix environment variable access error

When running deno task check:imports, ts_morph (TypeScript) internally tries to access the TS_ETW_MODULE_PATH environment variable, which causes a permission error:

❌ Denied env access to "TS_ETW_MODULE_PATH".

Fix: Added --allow-env=TS_ETW_MODULE_PATH to the check:imports task.

Environment

  • Deno 2.6.3

@uki00a
Copy link
Owner

uki00a commented Dec 26, 2025

LGTM, thanks for addressing the issue!

@uki00a uki00a merged commit 0691c6a into uki00a:main Dec 26, 2025
1 check 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.

2 participants