open-cli-tools / open-cli-tools/concurrently

passthrough-arguments leads to trailing slashes in argument key on Windows

Open
#398 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
7.9k
Forks
281
Avg merge
17h 12m
Merged PRs (30d)
1

Description

Description:
Using -P, --passthrough-arguments leads to trailing slashes in argument key on Windows (and stackblitz.com).

On local Mac doesn't reproduce.
If adding only the key without value (e.g. yarn test --key) doesn't reproduce as well.

Expected Behavior:
Argument key should not have a trailing slash when specifying argument value.

Environment:
concurrently v7.6.0
OS: Windows 10
Node v16.14.2

Reproduction:
stackblitz
in terminal type: npm run test -- --key=value or yarn test --key=value

See Images attached:
image
image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported commands with --passthrough-arguments on Windows or the linked StackBlitz environment, then trace the passthrough-argument parsing entry point. Done means an argument such as --key=value has no trailing slash in its key, while an argument supplied without a value remains unaffected.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, typescript
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.