Skip to content

Commit d978e7a

Browse files
committed
fix: align tracer source placement, use non-executable shebang (#1915)
docs check acknowledged — small consistency fixes, no new functionality.
1 parent eec2292 commit d978e7a

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

tests/benchmarks/resolution/tracer/go-tracer.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88

99
set -euo pipefail
1010

11-
source "$(dirname "${BASH_SOURCE[0]}")/tracer-common.sh"
12-
1311
FIXTURE_DIR="${1:-}"
1412
if [[ -z "$FIXTURE_DIR" ]]; then
1513
echo "Usage: go-tracer.sh <fixture-dir>" >&2
@@ -27,6 +25,8 @@ fi
2725
TMP_DIR="$(mktemp -d)"
2826
trap 'rm -rf "$TMP_DIR"' EXIT
2927

28+
source "$(dirname "${BASH_SOURCE[0]}")/tracer-common.sh"
29+
3030
cp "$FIXTURE_DIR"/*.go "$TMP_DIR/"
3131

3232
# Create go.mod

tests/benchmarks/resolution/tracer/tracer-common.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env bash
1+
# shellcheck shell=bash
22
# Shared helpers for the dynamic call tracer scripts in this directory.
33
# Each tracer (native-tracer.sh, jvm-tracer.sh, go-tracer.sh, ...) is spawned
44
# as its own subprocess by run-tracer.mjs, so sharing logic between them means

0 commit comments

Comments
 (0)