scripts/verify-pack: exits 0 when no pack directory is given
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 1/5
- 見積もり時間
- 1時間未満
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 停滞
- 技術スタック
- bash
- 領域
- cli
調査の方向性
Read scripts/verify-pack around lines 401–405 and the usage() function at line 48. Check how the no-argument path handles output and exit status; done when it reports the error on stderr and exits nonzero. Pull request #141 is already open for this issue.
索引モデルが issue の本文から書いたものです。
説明
if [[ ${#TARGETS[@]} -eq 0 ]]; then
echo "Error: No pack directory specified."
echo ""
usage
fi
usage() ends with exit 0 (L48).
Problem: bash scripts/verify-pack with no argument prints an error but returns exit code 0. A script that calls verify-pack "$PACK" with an empty $PACK thinks that the check passed. The error also goes to stdout, not stderr.
Fix: At line 404, use usage >&2; exit 1 (or give usage() an exit-code argument).
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
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
components-web-app/docs#228 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
int-brain-lab/iblscripts#127 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
ValveSoftware/SteamOS#2927 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
msys2/MSYS2-packages#6813 ·
メンテナーはふだん 1 日以内に返信