Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Interpolation of ThisFile doesn't work in the config section #18

Open
kjczarne opened this issue May 25, 2022 · 0 comments
Open
Assignees
Labels
bug Something isn't working critical Urgent and important

Comments

@kjczarne
Copy link
Contributor

Describe the bug
The interpolation of $(ThisFile) placeholder doesn't work in the config section.

To Reproduce
Steps to reproduce the behavior:

  1. Use $(ThisFile) in the config.report path.
  2. The path resolves to the __file__ in the kalash module instead of the real YAML path.

Expected behavior
Path resolves to the YAML file parent directory.

Screenshots
N/A

Platform (please complete the following information):
Version: 4.0.0

Additional context
Interpolation operates on internal state of the Trigger class, piping would make more sense and would make it easier to understand where the values are interpolated.

@kjczarne kjczarne added the bug Something isn't working label May 25, 2022
@kjczarne kjczarne self-assigned this May 25, 2022
@kjczarne kjczarne changed the title [BUG] [BUG] Interpolation of ThisFile doesn't work in the config section May 25, 2022
@kjczarne kjczarne added the critical Urgent and important label May 25, 2022
@kjczarne kjczarne added this to the v5.0.0 Release Milestone milestone May 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working critical Urgent and important
Projects
None yet
Development

No branches or pull requests

1 participant