Skip to content

[Bug] Returned value of tasks cannot end with a period. #427

@uynilo9

Description

@uynilo9

Environment

  • OS: Windows 11
  • Node Version: v24.11.1 (with Deno v2.5.6)
  • Package: @clack/prompts
  • Package Version: v0.11.0

Describe the bug
Returned value of tasks cannot end with period(s).
If it ends with period(s), the period(s) won't be printed.

To Reproduce
https://stackblitz.com/edit/node-4mqpgbh1

Steps to reproduce the behavior:

See the link above please.

Expected behavior
Value is printed with period(s).

Additional Information
Image

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Needs triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions