Skip to content

Commit 109918a

Browse files
committed
lint
1 parent 0e86f0a commit 109918a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/rspack_plugin_externals/src/plugin.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ impl ExternalPlugin {
3838
}
3939
};
4040
let external_module_type = r#type.unwrap_or_else(|| {
41-
if UNSPECIFIED_EXTERNAL_TYPE_REGEXP.is_match(&external_module_config)
41+
if UNSPECIFIED_EXTERNAL_TYPE_REGEXP.is_match(external_module_config)
4242
&& let Some((t, c)) = external_module_config.split_once(' ') {
4343
external_module_config = c;
4444
return t.to_owned();

0 commit comments

Comments
 (0)