We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6a36c9 commit 53f79c8Copy full SHA for 53f79c8
1 file changed
packages/cli/src/commands/compile.ts
@@ -404,6 +404,10 @@ export async function runCompile(options: CompileOptions): Promise<void> {
404
const allPaths = [...writtenPaths, ...result.assetPaths];
405
406
ui.newline();
407
+ if (result.activeRuleCount === 0) {
408
+ ui.warn('No rules found. Run "devw add" to install rules from the registry.');
409
+ return;
410
+ }
411
ui.success(`Compiled ${String(result.activeRuleCount)} rules ${ICONS.arrow} ${String(allPaths.length)} file${allPaths.length !== 1 ? 's' : ''} ${ui.timing(result.elapsedMs)}`);
412
ui.log(summaryTable);
413
if (options.verbose && result.overriddenRuleIds.length > 0) {
0 commit comments