@fractary/faber-cli 1.3.11 → 1.3.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -354,7 +354,10 @@ async function planSingleIssue(issue, config, repoClient, anthropicClient, optio
|
|
|
354
354
|
}
|
|
355
355
|
catch (error) {
|
|
356
356
|
// If label doesn't exist, just add comment without label
|
|
357
|
-
if (error instanceof Error &&
|
|
357
|
+
if (error instanceof Error &&
|
|
358
|
+
(error.message.includes('not found') ||
|
|
359
|
+
error.message.includes('faber:planned') ||
|
|
360
|
+
error.message.includes('--add-label'))) {
|
|
358
361
|
if (outputFormat === 'text') {
|
|
359
362
|
console.log(chalk.yellow(` ⚠️ Label 'faber:planned' not found, adding comment only`));
|
|
360
363
|
}
|