diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..efdba87 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +* text=auto +*.sh text eol=lf diff --git a/npm-maintenance/npm-maintenance.sh b/npm-maintenance/npm-maintenance.sh index 9a258b9..e723ab4 100755 --- a/npm-maintenance/npm-maintenance.sh +++ b/npm-maintenance/npm-maintenance.sh @@ -22,7 +22,7 @@ TRIGGERED_BY="$(whoami)" # ── Secrets ──────────────────────────────────────────────── # Set your credentials in the .secrets file, an example file is provided with this project -SECRETS_FILE="$(SCRIPT_DIR)/.secrets" +SECRETS_FILE="${SCRIPT_DIR}/.secrets" if [ ! -f "$SECRETS_FILE" ]; then echo "[ERROR] Secrets file not found: $SECRETS_FILE" >&2