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 e6bf6d4 commit 1e71340Copy full SHA for 1e71340
src/engine/TemplateEngine.ts
@@ -278,7 +278,7 @@ export abstract class TemplateEngine extends QuickAddEngine {
278
if (selection.isEmpty) return "";
279
if (!selection.isAllowed) {
280
this.showFolderNotAllowedNotice(context.allowedRoots);
281
- return "";
+ throw new MacroAbortError("Selected folder not allowed.");
282
}
283
284
if (selection.resolved) {
0 commit comments