script(move) -euo pipefail to debug arg (#175)
Some checks are pending
Sync to Codeberg / Sync Codeberg and Github (push) Waiting to run
Test / Test (push) Waiting to run

apparently this is causing issues, its used mostly for error handling as part of my debugging so we can just move it here
This commit is contained in:
PhoenixAceVFX 2025-03-04 22:47:12 -05:00 committed by GitHub
parent 721dfef42a
commit 8c2bfea5c0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,5 +1,4 @@
#!/bin/bash
set -euo pipefail
# Configuration
INSTALLER_PATH="$HOME/.equilotl"
@ -17,6 +16,7 @@ NC='\033[0m' # No Color
# Debug logging
debug_log() {
if $DEBUG; then
set -euo pipefail
local timestamp
timestamp=$(date +"%Y-%m-%d %T")
echo -e "[$timestamp] $1" | tee -a "$LOG_FILE"