aboutsummaryrefslogtreecommitdiff
path: root/generate-gallery.py
diff options
context:
space:
mode:
Diffstat (limited to 'generate-gallery.py')
-rwxr-xr-xgenerate-gallery.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/generate-gallery.py b/generate-gallery.py
index e5e25d0..3600cb7 100755
--- a/generate-gallery.py
+++ b/generate-gallery.py
@@ -104,7 +104,7 @@ def package_projects(_indir: str, _outdir: str, all_projects: dict):
"""Package all scratch projects to html"""
# Ensure that the local turbowarp-packer-cli is available through npm
- subprocess.run('npm install'.split(), cwd='turbowarp-packager-cli', check=True)
+ subprocess.check_output('npm install'.split(), cwd='turbowarp-packager-cli')
_cmd = 'npx turbowarp-packager-cli -s ../turbowarp-packager-settings.json -i "{infile}" -o "{outdir}"'
indir = pathlib.Path(_indir)