Skip to content

Commit 98a23e0

Browse files
committed
misc: Quote input args
1 parent 3d8ede3 commit 98a23e0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

scripts/clean_notebooks.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Clean your notebooks!
44

55
# Clear all the output from all cells
6-
jupyter-nbconvert --clear-output $@
6+
jupyter-nbconvert --clear-output "$@"
77

88
# Run the whole notebook in order from start to end
99
## We don't run with --ClearMetadataPreprocessor.enabled=True
@@ -13,12 +13,12 @@ jupyter-nbconvert \
1313
--allow-errors \
1414
--to notebook \
1515
--inplace \
16-
$@
16+
"$@"
1717

1818
# Strip superfluous metadata
1919
## NB: may need more extra-keys, these are just the current offenders
2020
nbstripout \
2121
--keep-output \
2222
--keep-count \
2323
--extra-keys='cell.metadata.editable cell.metadata.slideshow' \
24-
$@
24+
"$@"

0 commit comments

Comments
 (0)