Skip to content

Commit

Permalink
options: filter _module.args (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcelCoding committed Oct 16, 2024
1 parent 6be8fb9 commit 76458c2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ixx/src/action/index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ pub(crate) fn index(module: IndexModule) -> anyhow::Result<()> {
let options: HashMap<String, option::Option> = serde_json::from_reader(file)?;

for (name, option) in options {
// internal options which cannot be hidden when importing existing options.json
if name == "_module.args" {
continue;
}

let name = match &scope.options_prefix {
Some(prefix) => format!("{}.{}", prefix, name),
None => name,
Expand Down

0 comments on commit 76458c2

Please sign in to comment.