Skip to content

Commit

Permalink
fix LANGUAGE_SERVER_VERSION test in preview script (#1034)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbanck authored Apr 8, 2022
1 parent cf56e59 commit 20389f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/preview
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ cd $ROOT_RELATIVE_DIR

# get current version info
VERSION=`git log -1 --format=%cd --date="format:%Y.%-m.%-d%H"`
if [ -z "$LANGUAGE_SERVER_VERSION" ]; then
if [ -z "${LANGUAGE_SERVER_VERSION:-}" ]; then
LANGUAGE_SERVER_VERSION="$(jq -r .langServer.version package.json)"
fi

Expand Down

0 comments on commit 20389f5

Please sign in to comment.