We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 171a648 commit bbf5accCopy full SHA for bbf5acc
controlplane/docker/patch-sentry.sh
@@ -1,7 +1,11 @@
1
#!/bin/sh
2
-set -euo pipefail
+set -euo
3
4
-file="$1" || { echo "Usage: $0 <path-to-file>"; exit 1; }
+if [ $# -eq 0 ]; then
5
+ echo "Usage: $0 <path-to-file>"
6
+ exit 1
7
+fi
8
+file="$1"
9
10
# If file already contains Sentry setup, skip patching
11
if grep -q "import './core/sentry.config.js'" "$file"; then
0 commit comments