Skip to content

Commit 19cb57e

Browse files
committed
Log Typescript scan heap memory setting
1 parent 45bc3ee commit 19cb57e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/scanTypescript.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ set -o errexit -o pipefail
99

1010
ARTIFACTS_DIRECTORY=${ARTIFACTS_DIRECTORY:-"artifacts"}
1111
SOURCE_DIRECTORY=${SOURCE_DIRECTORY:-"source"}
12+
1213
TYPESCRIPT_SCAN_HEAP_MEMORY=${TYPESCRIPT_SCAN_HEAP_MEMORY:-"4096"} # Heap memory in megabytes for Typescript scanning with (Node.js process). Defaults to 4096 MB.
14+
echo "scanTypescript TYPESCRIPT_SCAN_HEAP_MEMORY=${TYPESCRIPT_SCAN_HEAP_MEMORY}" >&2
1315

1416
## Get this "scripts" directory if not already set
1517
# Even if $BASH_SOURCE is made for Bourne-like shells it is also supported by others and therefore here the preferred solution.

0 commit comments

Comments
 (0)