aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2026-02-11 12:13:22 +0100
committerFlorian Fischer <florian.fischer@muhq.space>2026-02-11 12:13:22 +0100
commitda04b82856c152eb28c9ebde9384f4fe94d8ae4e (patch)
tree1fe984c01fadfb71ba0ea1a38ae4754115acc770
parent0bf175dab2ba03cc0f3876a46e3e943e5e146948 (diff)
downloadscratch-gallery-da04b82856c152eb28c9ebde9384f4fe94d8ae4e.tar.gz
scratch-gallery-da04b82856c152eb28c9ebde9384f4fe94d8ae4e.zip
do not print the output of the installation npm run
-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)