diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 95986f3..1d23be4 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -44,7 +44,7 @@ jobs: matrix: version: - "1.6" - - "1.10" + - "1.11" os: - ubuntu-latest - macos-13 diff --git a/src/QuartoNotebookWorker/src/NotebookState.jl b/src/QuartoNotebookWorker/src/NotebookState.jl index 421711e..065b6f8 100644 --- a/src/QuartoNotebookWorker/src/NotebookState.jl +++ b/src/QuartoNotebookWorker/src/NotebookState.jl @@ -12,7 +12,6 @@ function __init__() if ccall(:jl_generating_output, Cint, ()) == 0 PROJECT[] = Base.active_project() OPTIONS[] = task_local_storage(:QUARTO_NOTEBOOK_WORKER_OPTIONS, Dict{String,Any}()) - define_notebook_module!() end end diff --git a/src/worker.jl b/src/worker.jl index 986b2c0..36a06a6 100644 --- a/src/worker.jl +++ b/src/worker.jl @@ -12,6 +12,7 @@ function worker_init(f::File, options::Dict) ), ) end + QNW.NotebookState.define_notebook_module!(Main) global refresh!(args...) = QNW.refresh!($(f.path), $(options), args...) global render(args...; kwargs...) = QNW.render(args...; kwargs...) end