Skip to content

Commit 8a4e7df

Browse files
Fail if no fluent messages were found
1 parent 3727eec commit 8a4e7df

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/tools/tidy/src/fluent_alphabetical.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,5 +116,7 @@ pub fn check(path: &Path, bless: bool, diag_ctx: DiagCtx) {
116116
},
117117
);
118118

119+
assert!(!all_defined_msgs.is_empty());
120+
119121
crate::fluent_used::check(path, all_defined_msgs, diag_ctx);
120122
}

0 commit comments

Comments
 (0)