Skip to content

Commit c42d4a2

Browse files
committed
tsnode fixes
1 parent 485c680 commit c42d4a2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

scripts/tsnode-version.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ fi
6060

6161
if [ x"$1" = x-l ]
6262
then
63-
echo "NodeJS interpreter [https://nodejs.org]"
63+
echo "TypeScript interpreter [https://nodejs.org]"
6464
exit 0
6565
fi
6666

@@ -87,6 +87,6 @@ fi
8787

8888
"${NODEPATH}" --version 2>/dev/null >/dev/null || exit 1
8989

90-
[ x"$1" = x-f ] && echo -n "NodeJS "
90+
[ x"$1" = x-f ] && echo -n "TypeScript "
9191

9292
"${NODEPATH}" --version 2>&1 | sed 's/v//g'

scripts/tsnode.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22
# Copyright (c) 2023 Alexander Chernov <[email protected]>
33

4-
# This is a `compilation' script for the JavaScript (NodeJS) language.
4+
# This is a `compilation' script for the TypeScript (TSNode) language.
55
# The idea is to append "#!${NODEPATH}" string
66
# to the beginning of the file.
77
# Usage: tsnode <input> <output>

0 commit comments

Comments
 (0)