Skip to content

Test generator, problem_spec_dir(): remove code that walks the path. Merge changes from other tracks. - #463

Merged
glennj merged 1 commit into
exercism:mainfrom
IsaacG:update
Nov 16, 2026
Merged

glennj merged 1 commit into
exercism:mainfrom
IsaacG:update

Conversation

@IsaacG

@IsaacG IsaacG commented Nov 16, 2026

Copy link
Copy Markdown
Member

This code checks if the current path is a child of the problem spec repo.
The generator lives in the track repo, which is generally not nested inside the problem spec repo. The prior logic checks the XDG cache path, which is what configlet uses. Contributors ought to be running configlet sync so the path used by the configlet ought to exist and should be reliable. As such, an additional check is not needed

No diffs in the generated files.

…. Merge changes from other tracks.

This code checks if the current path is a child of the problem spec repo.
The generator lives in the track repo, which is generally not nested inside the problem spec repo. The prior logic checks the XDG cache path, which is what `configlet` uses. Contributors ought to be running `configlet sync` so the path used by the configlet ought to exist and should be reliable. As such, an additional check is not needed

No diffs in the generated files.
@glennj
glennj merged commit 41bef52 into exercism:main Nov 16, 2026
7 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.

2 participants