Skip to content

Commit 3cffbfb

Browse files
committed
Allow arbitrary directories
1 parent ba3bc99 commit 3cffbfb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/QuartoNotebookWorker/src/refresh.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ function refresh!(path, original_options, options = original_options)
1212
cd(dirname(NotebookState.PROJECT[]))
1313
elseif isdir(NotebookState.PROJECT[])
1414
cd(NotebookState.PROJECT[])
15+
elseif isdir(ed)
16+
cd(ed)
1517
else
1618
@warn "Project path not found: $(NotebookState.PROJECT[])"
1719
end

0 commit comments

Comments
 (0)