-
Notifications
You must be signed in to change notification settings - Fork 207
Closed
Description
Environment
deno 1.37.2 (release, aarch64-apple-darwin)
v8 11.8.172.13
typescript 5.2.2
import { consola } from 'https://esm.sh/[email protected]'
Reproduction
https://replit.com/@vikiival/consola-promt
MVP:
import { consola } from 'https://esm.sh/[email protected]'
const projectType = await consola.prompt("Pick a project type.", {
type: "select",
options: [
"TypeScript",
"TypeScript",
{ label: "CoffeeScript", value: "CoffeeScript", hint: "oh no" },
],
});
consola.info("You picked", projectType);deno run -A main.tsDescribe the bug
I was trying to run a simple example of consola.prompt in Deno with the option of select and it returns the default prompt type.
Additional context
No response
Logs
Pick a project type. dasda
info You picked dasdakricsleo
Metadata
Metadata
Assignees
Labels
No labels