Commit 4e053a6
committed
fix(create): update --directory error to reflect broader guard
When the `--directory` guard was widened from `!isBuiltinTemplate` to
`!isDirectScaffoldTemplate` (to accept bundled @org templates alongside
builtins), the error text was left behind and still said "only available
for builtin templates". Users hitting it today are told --directory
doesn't work with bundled templates, even though it does.
Now reads: "only available for builtin and bundled @org templates".
Reported by Cursor Bugbot on #1398.1 parent 4cd3c1d commit 4e053a6
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
516 | 516 | | |
517 | 517 | | |
518 | 518 | | |
519 | | - | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
520 | 523 | | |
521 | 524 | | |
522 | 525 | | |
| |||
0 commit comments