Skip to content

Commit

Permalink
fix: fix core model config None issue
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Feb 25, 2021
1 parent 049dd65 commit b77fd52
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core_model/src/coco_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ impl CocoConfig {
return None;
}

if plugin.config.is_none() {
return None;
}

return Some(plugin.config.unwrap());
}

Expand Down

0 comments on commit b77fd52

Please sign in to comment.