Updated the ID question in the CLI

This commit is contained in:
D-K-P
2023-07-25 16:30:28 +01:00
parent 4dce703b20
commit 454ad25b1d
2 changed files with 7 additions and 2 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"@trigger.dev/cli": patch
---
Changed the text on the ID question
+2 -2
View File
@@ -167,10 +167,10 @@ export const promptEndpointSlug = async (path: string): Promise<string> => {
type: "input",
name: "endpointSlug",
default: slugify(pathModule.basename(path)),
message: "Enter a unique ID for your endpoint",
message: "Enter an ID for this project",
validate: (input) => {
if (!input) {
return "Please enter a unique ID for your endpoint";
return "Please enter an ID for this project";
}
return true;