Skip to content

Commit

Permalink
plugins: Use path via config
Browse files Browse the repository at this point in the history
  • Loading branch information
DashieTM committed May 30, 2024
1 parent ef48478 commit 94adf9b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/plugin_setup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ static SETUP_LIBS: fn() = || {
}
});
};
#[allow(clippy::borrow_interior_mutable_const)]
let plugin_dir = if let Some(config) = CONFIG.get("plugin_path") {
let config = config.to_string();
if config.is_empty() {
Expand Down

0 comments on commit 94adf9b

Please sign in to comment.