style: update input prompt

This commit is contained in:
afiqzudinhadi 2024-07-12 15:52:46 +08:00
parent b8900381d6
commit fa41e17011

View file

@ -1,7 +1,8 @@
import { input } from "@inquirer/prompts";
const answer = await input({
message: "Enter an array of numbers or strings separated by commas:",
message:
"Enter an array of numbers or strings (or both!) separated by commas:",
});
const array = answer.split(",").map((item) => {