From 6535043e55fa510bde5b66085d4b88326004faee Mon Sep 17 00:00:00 2001 From: Shulhan Date: Thu, 25 Jan 2024 20:59:16 +0700 Subject: internal/cmd/trunks: fix command to run TypeScript compiler The correct options to run tsc on specific directory is "--project" not "-b". --- internal/cmd/trunks/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/cmd/trunks/main.go b/internal/cmd/trunks/main.go index a4d8cf5..9650274 100644 --- a/internal/cmd/trunks/main.go +++ b/internal/cmd/trunks/main.go @@ -22,8 +22,8 @@ import ( ) const ( - subCommandBuild = "build" - cmdTsc = "tsc -b _www" + subCommandBuild = `build` + cmdTsc = `tsc --project _www` ) func main() { -- cgit v1.3