You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When calling the showconfig command, it was re-hydrating the
configuration file from disk, rather than using the existing
configuration from the IoC container.
This commit changes the associated methods to re-use the existing
Config object, rather than creating it again from scratch. This has
the result of only showing the Warning about a missing Yaml file once,
and not twice.
(#513) Re-use existing Config from container
When calling the showconfig command, it was re-hydrating the
configuration file from disk, rather than using the existing
configuration from the IoC container.
This commit changes the associated methods to re-use the existing
Config object, rather than creating it again from scratch. This has
the result of only showing the Warning about a missing Yaml file once,
and not twice.
Description
Duplicate warning about Yaml file not being found is being shown.
Expected Behavior
Warning should only be shown once.
Actual Behavior
Warning is shown twice
Possible Fix
Not sure at this point in time.
Steps to Reproduce
Run the command:
Context
This isn't a showstopper bug, but definitely one that should be addressed.
Your Environment
N/A
The text was updated successfully, but these errors were encountered: