Skip to content

Commit 9738b5f

Browse files
GODRIVER-3445 Resolve merge conflicts
2 parents 98a3681 + 4e764d2 commit 9738b5f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

internal/spectest/spectest.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ func FindJSONFilesInDir(t *testing.T, dir string) []string {
4242

4343
// Path returns the absolute path to the given specifications repo file or
4444
// subdirectory.
45+
//
46+
// If the PROJECT_DIRECTORY environment variable is set, Path uses that to find
47+
// the repo root path. Otherwise, it falls back to using the call stack to find
48+
// the repo root path. Path panics if it can't find the repo root path.
4549
func Path(subdir string) string {
4650
root := os.Getenv("PROJECT_DIRECTORY")
4751
if root == "" {

0 commit comments

Comments
 (0)