Skip to content

Commit 4e431f8

Browse files
committed
minor bugfix in script
1 parent ec2b1fd commit 4e431f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/pr_commenter.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ function replace_and_push_files(res, new_org, origin, new_branch_name)
8282
# Add figures
8383
run(`git config --global user.email "name@example.com"`)
8484
run(`git config --global user.name "JuliaControl Bot"`)
85-
run(`git add src/figures/*`)
85+
run(`git add src/figures/"*"`) # Escaping special char *
8686
run(`git commit -m "automated plots test"`)
8787
run(`git remote add bot https://JuliaControlBot:$(ENV["ACCESS_TOKEN_BOT"])@github.com/$(new_org)/ControlExamplePlots.jl.git`)
8888
run(`git push -u bot $new_branch_name`)

0 commit comments

Comments
 (0)