Skip to content

Commit 097efc5

Browse files
committed
lockfile version
1 parent 57a0f0c commit 097efc5

File tree

2 files changed

+5859
-14811
lines changed

2 files changed

+5859
-14811
lines changed

.evergreen/run-typescript.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ fi
2222

2323
function get_ts_version() {
2424
if [ "$TS_VERSION" == "current" ]; then
25-
echo $(node -e "console.log(require('./package-lock.json').dependencies.typescript.version)")
25+
echo $(node -e "console.log(require('./package-lock.json').packages['node_modules/typescript'].version)")
2626
else
2727
echo $TS_VERSION
2828
fi

0 commit comments

Comments
 (0)