From fc2a5a7c9437b40ce130fae0b983895b173f69a8 Mon Sep 17 00:00:00 2001 From: lcylgs Date: Mon, 12 Jul 2021 20:10:35 +0800 Subject: [PATCH] =?UTF-8?q?task=E5=91=BD=E4=BB=A4=E5=A2=9E=E5=8A=A0ts-node?= =?UTF-8?q?=E6=94=AF=E6=8C=81=20by=20lcylgs@20210609?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shell/task.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/shell/task.sh b/shell/task.sh index ee922618..c5b1de7a 100755 --- a/shell/task.sh +++ b/shell/task.sh @@ -14,6 +14,8 @@ define_program() { which_program="python3" elif [[ $p1 == *.sh ]]; then which_program="bash" + elif [[ $p1 == *.ts ]]; then + which_program="ts-node" else which_program="" fi