beam: fix find_tree_root to realpath for symlink parity
This commit is contained in:
1 parent
29e0133a29
commit
6e9aeeefb7
1 file changed
+1
-1
@@ -5,7 +5,7 @@ import os
|
|||||||
|
|
||||||
|
|
||||||
def find_tree_root(start, marker="WORK-QUEUE.md"):
|
def find_tree_root(start, marker="WORK-QUEUE.md"):
|
||||||
cur = os.path.abspath(start)
|
cur = os.path.realpath(start)
|
||||||
if os.path.isfile(cur):
|
if os.path.isfile(cur):
|
||||||
cur = os.path.dirname(cur)
|
cur = os.path.dirname(cur)
|
||||||
while True:
|
while True:
|
||||||
|
|||||||
Reference in new issue
Block a user