Skip to content

Commit

Permalink
Fix shellcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelff committed Feb 12, 2024
1 parent 5cdd2b6 commit bb0e934
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions query-engine/query-engine-wasm/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,11 @@ else
WASM_TARGET_SUBDIR="$WASM_BUILD_PROFILE"
fi

build() {
local CONNECTOR="$1"
local CARGO_TARGET_DIR=$(cargo metadata --format-version 1 | jq -r .target_directory)
build() {
local CARGO_TARGET_DIR
CARGO_TARGET_DIR=$(cargo metadata --format-version 1 | jq -r .target_directory)
echo "🔨 Building $CONNECTOR"
local CONNECTOR="$1"
RUSTFLAGS="-Zlocation-detail=none" CARGO_PROFILE_RELEASE_OPT_LEVEL="z" cargo build \
-p query-engine-wasm \
--profile "$WASM_BUILD_PROFILE" \
Expand Down

0 comments on commit bb0e934

Please sign in to comment.