We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27d2ebd commit 78b52ccCopy full SHA for 78b52cc
src/commands/agent/generate/spec.ts
@@ -89,7 +89,8 @@ const FLAGGABLE_PROMPTS = {
89
'company-website': {
90
message: messages.getMessage('flags.company-website.summary'),
91
validate: (d: string): boolean | string => {
92
- if (!d.length) return 'Company website cannot be empty';
+ // Allow empty string
93
+ if (d.length === 0) return true;
94
95
try {
96
new URL(d);
0 commit comments