diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2026-02-11 12:13:22 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2026-02-11 12:13:22 +0100 |
| commit | da04b82856c152eb28c9ebde9384f4fe94d8ae4e (patch) | |
| tree | 1fe984c01fadfb71ba0ea1a38ae4754115acc770 /generate-gallery.py | |
| parent | 0bf175dab2ba03cc0f3876a46e3e943e5e146948 (diff) | |
| download | scratch-gallery-da04b82856c152eb28c9ebde9384f4fe94d8ae4e.tar.gz scratch-gallery-da04b82856c152eb28c9ebde9384f4fe94d8ae4e.zip | |
do not print the output of the installation npm run
Diffstat (limited to 'generate-gallery.py')
| -rwxr-xr-x | generate-gallery.py | 2 |
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) |
