Skip to content

Commit

Permalink
Julia 1.11 fix UndefVarError
Browse files Browse the repository at this point in the history
  • Loading branch information
fonsp committed Oct 11, 2024
1 parent 0d3f44d commit d9ca175
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/components/ErrorMessage.js
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ export const ErrorMessage = ({ msg, stacktrace, cell_id }) => {
display: () => default_rewriter.display("Error"),
},
{
pattern: /^UndefVarError: (.*) not defined\.?$/,
pattern: /^UndefVarError: (.*) not defined/,
display: (/** @type{string} */ x) => {
const notebook = /** @type{import("./Editor.js").NotebookData?} */ (pluto_actions.get_notebook())
const erred_upstreams = get_erred_upstreams(notebook, cell_id)
Expand Down
3 changes: 2 additions & 1 deletion frontend/hide-ui.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ pluto-input > button,
pluto-shoulder,
footer,
pluto-runarea,
jlerror .doclink,
.dont-panic,
#helpbox-wrapper {
display: none !important;
}
Expand All @@ -28,7 +30,6 @@ pluto-runarea,
.MJX_ToolTip,
.MJX_HoverRegion,
.MJX_LiveRegion,
.dont-panic,
nav#undo_delete {
display: none !important;
}
Expand Down

0 comments on commit d9ca175

Please sign in to comment.