From b471f6a1684320a90f65ef5aac7c0f87c69fb79b Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Fri, 10 Oct 2025 19:39:56 -0400 Subject: Remove the need for .env files --- scripts/lib/env.sh | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 scripts/lib/env.sh (limited to 'scripts/lib/env.sh') diff --git a/scripts/lib/env.sh b/scripts/lib/env.sh deleted file mode 100644 index e598584..0000000 --- a/scripts/lib/env.sh +++ /dev/null @@ -1,20 +0,0 @@ -# shellcheck shell=bash -[[ -n "${BOLT_ENV_LOADED:-}" ]] && return -readonly BOLT_ENV_LOADED=1 - -source "$(dirname "${BASH_SOURCE[0]}")/log.sh" - -load_env_file() { - local -r env_file="$1" - if [[ ! -f "$env_file" ]]; then - log_error "Environment file not found: $env_file" - return 1 - fi - - set -a - # shellcheck disable=SC1090 - source "$env_file" - set +a - - log_info "Loaded environment from $env_file" -} -- cgit v1.2.3