CommandLine.template accepts NAME+=value as the program name
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- typescript
- 領域
- cli
調査の方向性
Start by reading CommandLine.template and its existing syntax tests, then check how ChildProcess.make uses the parsed template. Add coverage for NAME+=value in the program position and confirm it is rejected as an assignment requiring a shell. The issue author says they already have a fix and plan to open a PR, so check the issue for that work before starting.
索引モデルが issue の本文から書いたものです。
説明
CommandLine.template rejects a variable assignment in the program position, but only the NAME=value form. The append form NAME+=value, which bash and zsh (and macOS sh) also read as an assignment, is accepted and becomes the program name:
import { CommandLine } from "effect/process"
CommandLine.template`FOO=bar make`
// Failure: UnsupportedSyntax "A variable assignment needs a shell"
CommandLine.template`FOO+=bar make`
// Success: ["FOO+=bar", "make"]
In bash or zsh, FOO+=bar make runs make with FOO set. ChildProcess.make splits its template with CommandLine.template, so ChildProcess.make`FOO+=bar make` tries to run a program named FOO+=bar instead.
On v4/next-minor (unreleased, added in #9752). I have a small fix with a test and will open a PR.
- 主要言語
- TypeScript
- スター
- 16.7k
- フォーク
- 808
- 平均マージ
- 11時間 29分
- マージ済み PR(30日)
- 837
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Effect-TS/effect のほかの issue
-
A `SqlClient` layer satisfies a `PgClient` requirement at the type level, then fails with "Service not found"対応中かも @effect-bot が今日担当しました。 オープンbug
Effect-TS/effect#10374 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
OtlpMetrics exports unit "1" for metrics with no declared unit, so Prometheus backends rename gauges to *_ratio対応中かも @effect-bot が今日担当しました。 オープン
Effect-TS/effect#10372 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
HttpEffect.toHandled: accept a caller-owned request scope対応中かも @effect-bot が今日担当しました。 オープン
Effect-TS/effect#10364 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Schema tagged unions: isAnyOf accepts keys outside the union対応中かも @effect-bot が 1 日前に担当しました。 オープン
Effect-TS/effect#10351 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Schema.TaggedUnion: expose `members` and `discriminants`, as `toTaggedUnion` does対応中かも @effect-bot が 1 日前に担当しました。 オープン
Effect-TS/effect#10345 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
Effect-TS/effect の issue をすべて見る
似ている issue
-
bug module:nodes tests
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
rocketride-org/rocketride-server#3020 ·
メンテナーはふだん 2 日以内に返信
-
area: dashboard area: tests good first issue size: XS tests
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
Read canvas commentsオープンenhancement needs-community-review
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
shaharia-lab/slackcli#501 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
[Bug] Pod detail shows CPU usage ten times too high, and throws on decimal memory suffixes対応中かも @RaphaelFakhri が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 11 日以内に返信
-
`package.json`: build tools listed as runtime dependencies, exact pins causing duplicate installsオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
themesberg/flowbite-vue#471 ·