Skip to content

Commit

Permalink
improve error message
Browse files Browse the repository at this point in the history
  • Loading branch information
fonsp committed Aug 10, 2024
1 parent dd2559c commit f800df1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "PlutoTurtles"
uuid = "67697473-756c-6b61-6172-6b407461726b"
authors = ["Fons van der Plas <[email protected]>"]
version = "1.0.0"
version = "1.0.1"

[deps]
AbstractPlutoDingetjes = "6e696c72-6542-2067-7265-42206c756150"
Expand Down
2 changes: 1 addition & 1 deletion src/notebook.jl
Original file line number Diff line number Diff line change
Expand Up @@ -839,7 +839,7 @@ begin
Meta.isexpr(ex.args[1], :call) && ex.args[1].args[1] === :turtle_drawing &&
Meta.isexpr(ex.args[2], Symbol("->"), 2) &&
Meta.isexpr(ex.args[2].args[1], :tuple)
) "Use me like this:\n\n@steps turtle_drawing() do t\n\t# my drawing here\n\t...\nend\n"
) "Use the @steps macro like this:\n\n@steps turtle_drawing() do t\n\t# my drawing here\n\t...\nend\n"

turtle_name = ex.args[2].args[1].args[1]

Expand Down

0 comments on commit f800df1

Please sign in to comment.