Wire local NVD key loading
这个提交包含在:
14
scripts/load-local-env.sh
普通文件
14
scripts/load-local-env.sh
普通文件
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
DEFAULT_ENV_FILE="$HOME/.config/websafe/env.sh"
|
||||
WEBSAFE_ENV_FILE="${WEBSAFE_ENV_FILE:-$DEFAULT_ENV_FILE}"
|
||||
|
||||
if [[ -f "$WEBSAFE_ENV_FILE" ]]; then
|
||||
# Export variables defined in the local secrets file for child processes.
|
||||
set -a
|
||||
# shellcheck disable=SC1090
|
||||
source "$WEBSAFE_ENV_FILE"
|
||||
set +a
|
||||
fi
|
||||
在新工单中引用
屏蔽一个用户