Skip to content

Commit 8d8eb81

Browse files
authored
Update update_notebook_packages.jl
1 parent ede0a07 commit 8d8eb81

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

tools/update_notebook_packages.jl

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ if VERSION < v"1.6.0-aaa"
1212
@error "Our website needs to be generated with Julia 1.6. Go to julialang.org/downloads to install it."
1313
end
1414

15-
if length(ARGS) != 1
16-
@error "Usage: julia tools/generate_book.jl <path to PlutoPages.jl>"
17-
end
18-
1915
import Pkg
2016
Pkg.activate("./pluto-deployment-environment")
2117
Pkg.instantiate()
@@ -36,4 +32,4 @@ level = getfield(Pkg, Symbol("UPLEVEL_$(ARGS[1])"))
3632
for n in all_notebooks
3733
@info "Updating" n
3834
Pluto.update_notebook_environment(n; backup=false, level)
39-
end
35+
end

0 commit comments

Comments
 (0)