Skip to content

Commit 4705023

Browse files
anonrigRafaelGSS
authored andcommitted
tools: fix simdjson updater
PR-URL: #50986 Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
1 parent b148c43 commit 4705023

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tools/dep_updaters/update-simdjson.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ DEPS_DIR="$BASE_DIR/deps"
77
[ -z "$NODE" ] && NODE="$BASE_DIR/out/Release/node"
88
[ -x "$NODE" ] || NODE=$(command -v node)
99

10+
# shellcheck disable=SC1091
11+
. "$BASE_DIR/tools/dep_updaters/utils.sh"
12+
1013
NEW_VERSION="$("$NODE" --input-type=module <<'EOF'
1114
const res = await fetch('https://api.github.com/repos/simdjson/simdjson/releases/latest');
1215
if (!res.ok) throw new Error(`FetchError: ${res.status} ${res.statusText}`, { cause: res });

0 commit comments

Comments
 (0)