Skip to content

Commit

Permalink
Merge pull request #3 from theopensystemslab/dp/enum-setupPrompts
Browse files Browse the repository at this point in the history
chore: Use enums in `setupPrompts`
  • Loading branch information
DafyddLlyr authored Jan 23, 2024
2 parents 491661d + 8c04d91 commit 50e4950
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prompts.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const setupPrompts = [
description: "Enter the environment you want to connect to",
type: "string",
default: "staging",
pattern: /^(?:production\b|staging\b|local\b)/,
enum: ["production", "staging", "local"],
message: "Enter 'production', 'staging', or 'local' only",
required: true,
},
Expand Down

0 comments on commit 50e4950

Please sign in to comment.