Skip to content

How to not format [prompt] #2402

Closed
Closed
@xiaomuzizier

Description

@xiaomuzizier

I want my input to be what the output is

Expected Behavior

when i enter --story=100321

when enter ,it show --story=100321

Current Behavior

when i enter --story=100321

when enter ,it show story='100321'

the '--' is lost and number has quotation marks。

image

Affected packages

  • cli ✅
  • core
  • prompt ✅
  • config-angular

Possible Solution

Steps to Reproduce (for bugs)

  1. First step
  2. Second step

i use @commitlint/prompt-cli with commintlint

image

commitlint.config.js

image
image

Context

Your Environment

"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@commitlint/prompt-cli": "^11.0.0",

Executable Version
commitlint --version VERSION
git --version VERSION
node --version VERSION

"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@commitlint/prompt-cli": "^11.0.0",

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions