Skip to content

Commit 1d3dd1d

Browse files
author
Nichol Yip
committedDec 3, 2024·
Assign linted_opts to unchecked.options once checks has passed.
Signed-off-by: Nichol Yip <[email protected]>
1 parent dd11693 commit 1d3dd1d

File tree

5 files changed

+178
-232
lines changed

5 files changed

+178
-232
lines changed
 

‎crates/spk-schema/src/build_spec.rs

+2
Original file line numberDiff line numberDiff line change
@@ -497,6 +497,8 @@ impl<'de> serde::de::Visitor<'de> for BuildSpecVisitor {
497497
unique_options.insert(full_name);
498498
self.lints.extend(opt.lints.clone());
499499
}
500+
501+
unchecked.options = linted_opts.iter().map(|l| l.item.clone()).collect_vec();
500502
}
501503
"variants" => {
502504
unchecked.raw_variants = map.next_value()?;

0 commit comments

Comments
 (0)
Please sign in to comment.