-
Notifications
You must be signed in to change notification settings - Fork 651
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
outputDir can't be used as an implicit variable within a config #5543
Comments
Looks like this error only happens if |
Signed-off-by: Ben Sherman <[email protected]>
I think even if we do declare a default value in the config, any interpolations within the config do not get the overridden value from the So something like the below will always write the report to a
|
That's a good point. I believe the same issue exists with workDir, which can be set on the command line or in the config. The only difference is that you should never really need to reference the workDir in the config. The broader issue IMO is that these report file paths are a rough edge. See for example #3626 and #5364 . I've long suspected that these report paths would be a lot easier to manage if they could be specified in the script somehow, maybe as part of the new workflow outputs. That way...
Need to think more on this problem. |
I wanted to save the report file in two locations recently, but I wasn't able to do that with how it is currently specified. |
Bug report
outputDir can't be used as an implicit variable within a config.
This means it can't be used within
report
to set the location of the report dynamically.Expected behavior and actual behavior
should put the report inside the outputDir, but instead gives
Environment
Additional context
Confirmed as an issue by @bentsherman :
The text was updated successfully, but these errors were encountered: