9 lines
272 B
Bash
Executable File
9 lines
272 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
ROOT="${1:?usage: ROLLBACK.sh <workspace-copy>}"
|
|
SCRIPT_DIR="$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)"
|
|
|
|
cp "$SCRIPT_DIR/BASELINE_FILE.ts" "$ROOT/apps/backend/src/utils/logger.ts"
|
|
printf 'restored logger baseline in %s\n' "$ROOT"
|