From 1bd9b2323d63194bedba178dad23ab7e6218c43d Mon Sep 17 00:00:00 2001 From: mario Date: Mon, 25 Sep 2023 11:40:25 +0200 Subject: [PATCH] replace `npm bin` with `npm exec` `npm bin` has been removed. https://github.com/npm/statusboard/issues/537 --- generate-pdfs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generate-pdfs.sh b/generate-pdfs.sh index 4a3d0b7e..444aabce 100755 --- a/generate-pdfs.sh +++ b/generate-pdfs.sh @@ -37,5 +37,5 @@ fi for file in slides/**/*.html; do slide_name=`echo $file | sed -n -e 's/^slides\/\(.*\)\/index.html/\1/p'` - `npm bin`/decktape automatic http://localhost:8000/$file $slide_name.pdf + npm exec -- decktape automatic http://localhost:8000/$file $slide_name.pdf done