Skip to content

Commit

Permalink
replace npm bin with npm exec
Browse files Browse the repository at this point in the history
`npm bin` has been removed.
npm/statusboard#537
  • Loading branch information
lxxxvi committed Sep 25, 2023
1 parent d9eafa4 commit 1bd9b23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generate-pdfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 1bd9b23

Please sign in to comment.