Skip to content

Commit

Permalink
fix regex take 2
Browse files Browse the repository at this point in the history
  • Loading branch information
BeastyBlacksmith committed Aug 17, 2023
1 parent bb41a46 commit 2034d14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions generate.jl
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ end

@everywhere function fix_activation_output(str)
str = replace(str, r"~/.*/projects/trebuchet" => "~/projects/trebuchet")
str = replace(str, r"^.*Updating registry (?:\n|.)*````" => "````")
str = replace(str, r".*Updating registry (?:\n|.)*````" => "````")
return str
end

Expand All @@ -70,7 +70,7 @@ end

copy_project("markdown")
copy_project("notebooks")
copy_project("carpentries")
copy_project("carpentries")JO

# Defining the functions to automatically generate the notebooks and markdowns with literate.jl
@everywhere begin
Expand Down

0 comments on commit 2034d14

Please sign in to comment.