uninstall.sh: the credential error message never shows because of set -e
メンテナーはふだん 1 日以内に返信
評価
調査の方向性
Read uninstall.sh around lines 7 and 52–53. Check how set -euo pipefail handles the AWS identity command and how its output and exit code feed the credential error message. Done when missing or expired credentials show the aws configure hint instead of exiting before it appears; pull request #143 is already open.
索引モデルが issue の本文から書いたものです。
説明
sts_output=$(aws sts get-caller-identity 2>&1)
sts_rc=$?
Problem: The script uses set -euo pipefail (L7). When credentials are missing or expired, the assignment fails and the script stops at once with exit 1. The lines that show sts_output and the "Run 'aws configure' first" hint never run, so the user sees no message.
Fix:
local sts_output sts_rc=0
sts_output=$(aws sts get-caller-identity 2>&1) || sts_rc=$?
Found by a code read at commit 1e50295. The code was read, but not run on a real instance.
- 主要言語
- Shell
- スター
- 73
- フォーク
- 11
- 平均マージ
- 6時間 46分
- マージ済み PR(30日)
- 5
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
inceptionstack/lowkey のほかの issue
-
bug good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
inceptionstack/lowkey#135 ·
メンテナーはふだん 1 日以内に返信
-
bug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
inceptionstack/lowkey#134 ·
メンテナーはふだん 1 日以内に返信
-
bug good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 94/100
inceptionstack/lowkey#133 ·
メンテナーはふだん 1 日以内に返信
-
bug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
inceptionstack/lowkey#131 ·
メンテナーはふだん 1 日以内に返信
-
bug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
inceptionstack/lowkey#130 ·
メンテナーはふだん 1 日以内に返信
inceptionstack/lowkey の issue をすべて見る
似ている issue
-
[cifuzz] "Minimizing crashes reduces fuzzing time" is logged for every batch run, even with minimize-crashes off対応中かも @martinfrancois が今日担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
alunduil/alunduil-chezmoi#914 ·
メンテナーはふだん 1 日以内に返信
-
cao-evolution cao-evolution:compiler-security
難易度 1/5 1時間未満 初心者へのやさしさ 86/100
githubnext/gh-aw-cao#17586 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信