From 6a60a6ce931dd48b3dfc400db4544f473227cd56 Mon Sep 17 00:00:00 2001 From: Ben Hearsum Date: Wed, 9 Apr 2025 08:53:45 -0400 Subject: [PATCH] fix: ensure GraphConfig.vcs_root is set when root_dir is a relative path --- src/taskgraph/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/taskgraph/config.py b/src/taskgraph/config.py index b914b98f..52018846 100644 --- a/src/taskgraph/config.py +++ b/src/taskgraph/config.py @@ -145,7 +145,7 @@ def vcs_root(self): raise Exception( "Not guessing path to vcs root. Graph config in non-standard location." ) - return os.path.dirname(self.root_dir) + return os.path.dirname(os.path.join(".", self.root_dir)) @property def taskcluster_yml(self):