Use `npx tsc` instead of $PATH-based `tsc` in build.sh.
authorRobert Sesek <rsesek@bluestatic.org>
Sat, 19 Sep 2020 20:32:35 +0000 (16:32 -0400)
committerRobert Sesek <rsesek@bluestatic.org>
Sat, 19 Sep 2020 20:32:35 +0000 (16:32 -0400)
build.sh

index 45f228ad2396d06e5e1b218ae18f04db8713b95c..96d024d86bf4eaabfeb5f8b5e07798e0b2bd893a 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -12,8 +12,8 @@ set -ex
 rm -rf $OUTDIR
 
 # Compile.
-tsc --version
-tsc
+npx tsc --version
+npx tsc
 
 # Drop tests from the compiled output.
 find $OUTDIR -type f -name '*.test.*' -exec rm {} +