Skip to content

Commit

Permalink
Fix default value assignment for auth_file in SFDX auth file creation…
Browse files Browse the repository at this point in the history
… script
  • Loading branch information
ZackFra committed Feb 1, 2025
1 parent 8a0b7d0 commit 07079f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/bash/create-sfdx-auth-file.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
sfdx_auth_url=$1
auth_file=$2 || "authFile.json"
auth_file=${2:-"authFile.json"}
echo "{\"sfdxAuthUrl\": \"$sfdx_auth_url\"}" > "$auth_file"

0 comments on commit 07079f6

Please sign in to comment.