Skip to content

Commit 6aaf500

Browse files
author
Nichol Yip
committed
Assign linted_opts to unchecked.options once checks has passed.
Signed-off-by: Nichol Yip <[email protected]>
1 parent 67fa96c commit 6aaf500

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

crates/spk-schema/src/build_spec.rs

+2
Original file line numberDiff line numberDiff line change
@@ -492,6 +492,8 @@ impl<'de> serde::de::Visitor<'de> for BuildSpecVisitor {
492492
unique_options.insert(full_name);
493493
self.lints.extend(opt.lints.clone());
494494
}
495+
496+
unchecked.options = linted_opts.iter().map(|l| l.item.clone()).collect_vec();
495497
}
496498
"variants" => {
497499
unchecked.raw_variants = map.next_value()?;

0 commit comments

Comments
 (0)