Skip to content

fix: ensure GraphConfig.vcs_root is set when root_dir is a relative path #675

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

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/taskgraph/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
Loading