Skip to content

Commit

Permalink
detectWorkspace now returns the first ws-subdir (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZoomRmc authored Sep 14, 2023
1 parent cb08ce1 commit 6c2ef35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/atlas.nim
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ proc detectWorkspace(currentDir: string): string =
# alternatively check for "sub-directory" workspace
for kind, file in walkDir(currentDir):
if kind == pcDir and fileExists(file / AtlasWorkspace):
result = file
return file

proc autoWorkspace(currentDir: string): string =
result = currentDir
Expand Down

0 comments on commit 6c2ef35

Please sign in to comment.