Skip to content

Commit 49ab74e

Browse files
committed
fix: does not matter if symlinked
1 parent 9a1e0c2 commit 49ab74e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

marimo/_server/recents.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,10 @@ def get_recents(
8686
)
8787
files: list[MarimoFile] = []
8888

89-
base_dir = (directory or pathlib.Path.cwd()).resolve()
89+
base_dir = directory or pathlib.Path.cwd()
9090
limited_files = state.files[: self.MAX_FILES]
9191
for file in limited_files:
92-
file_path = pathlib.Path(file).resolve()
92+
file_path = pathlib.Path(file)
9393
if _is_tmp_file(file) or not file_path.is_relative_to(base_dir):
9494
continue
9595
if not file_path.exists():

0 commit comments

Comments
 (0)