Skip to content

Commit

Permalink
Set evaluation file when autosaving (#2529)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonatanklosko authored Mar 27, 2024
1 parent 94a0aed commit 23a1727
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/livebook/session.ex
Original file line number Diff line number Diff line change
Expand Up @@ -2438,7 +2438,7 @@ defmodule Livebook.Session do

defp start_evaluation(state, cell, section) do
path =
case state.data.file do
case state.data.file || default_notebook_file(state) do
nil -> ""
file -> file.path
end
Expand Down

0 comments on commit 23a1727

Please sign in to comment.