We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3829d2 commit 6f811d1Copy full SHA for 6f811d1
src/taskgraph/config.py
@@ -157,6 +157,9 @@ def validate_graph_config(config):
157
158
159
def load_graph_config(root_dir):
160
+ # ensure we have an absolute path; this is required for assumptions
161
+ # made later, such as the `vcs_root` being a directory above `root_dir`
162
+ root_dir = os.path.abspath(root_dir)
163
config_yml = os.path.join(root_dir, "config.yml")
164
if not os.path.exists(config_yml):
165
raise Exception(f"Couldn't find taskgraph configuration: {config_yml}")
0 commit comments