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 fea27a6 commit 2d20ee7Copy full SHA for 2d20ee7
src/tools/tidy/src/triagebot.rs
@@ -19,7 +19,12 @@ pub fn check(path: &Path, bad: &mut bool) {
19
20
// Check [mentions."*"] sections, i.e. [mentions."compiler/rustc_const_eval/src/"]
21
if let Some(Value::Table(mentions)) = config.get("mentions") {
22
- for path_str in mentions.keys() {
+ for (entry_key, entry_val) in mentions.iter() {
23
+ // If the type is set to something other than "filename", then this is not a path.
24
+ if entry_val.get("type").is_some_and(|t| t.as_str().unwrap_or_default() != "filename") {
25
+ continue;
26
+ }
27
+ let path_str = entry_key;
28
// Remove quotes from the path
29
let clean_path = path_str.trim_matches('"');
30
let full_path = path.join(clean_path);
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments