From 495e29ffd64bed941d8f838017c29c3941b317a2 Mon Sep 17 00:00:00 2001 From: Fons van der Plas Date: Wed, 21 Feb 2024 10:28:03 +0100 Subject: [PATCH] write sprint Toml print --- src/local_plotly_library.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/local_plotly_library.jl b/src/local_plotly_library.jl index c6ce374..ce592a9 100644 --- a/src/local_plotly_library.jl +++ b/src/local_plotly_library.jl @@ -39,9 +39,9 @@ $pluto_path") : continue) end function update_versions_file() - open(VERSIONS_PATH, "w") do io + write(VERSIONS_PATH, sprint() do io TOML.print(io, VERSIONS_DICT[]) - end + end) end function get_esm_url(v) v = string(v)