We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39f1dbc commit 902cdb0Copy full SHA for 902cdb0
scripts/sync-to-aws-homebrew-tap
@@ -97,7 +97,7 @@ function restore_gh_config() {
97
if [[ -n $(env | grep GITHUB_TOKEN) ]] && [[ -n "${GITHUB_TOKEN}" ]]; then
98
trap restore_gh_config EXIT INT TERM ERR
99
mkdir -p "${HOME}/.config/gh"
100
- cp -f "${GH_CLI_CONFIG_PATH}" "${GH_CLI_CONFIG_PATH}.bkup"
+ cp -f "${GH_CLI_CONFIG_PATH}" "${GH_CLI_CONFIG_PATH}.bkup" || :
101
cat << EOF > "${GH_CLI_CONFIG_PATH}"
102
hosts:
103
github.com:
0 commit comments