Skip to content

Conversation

@jiezhuzzz
Copy link

Update the logic in the __init__ method to log a warning if the specified custom template directory does not exist.

@CLAassistant
Copy link

CLAassistant commented Feb 2, 2026

CLA assistant check
All committers have signed the CLA.

Previously, template_dir in config was resolved relative to the current
working directory (CWD), making configs non-portable and dependent on
where the command was run from.

Now template_dir is resolved relative to the config file's location,
allowing users to specify relative paths that work regardless of CWD.

- Relative paths are converted to absolute based on config file directory
- Absolute paths remain unchanged
- Path normalization handles .. and . components correctly
- Added comprehensive test suite covering all path resolution scenarios
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