Skip to content

Commit

Permalink
fix: cspell
Browse files Browse the repository at this point in the history
  • Loading branch information
shulandmimi committed Nov 8, 2023
1 parent a1c2fed commit c987bc2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions crates/plugin_runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ impl Plugin for FarmPluginRuntime {

let module_graph = context.module_graph.write();

let (entry, runtimes) =
let (entry, runtime) =
resource_pots
.iter()
.fold((None, vec![]), |(mut entry, mut runtime_pots), item| {
Expand All @@ -274,9 +274,9 @@ impl Plugin for FarmPluginRuntime {
return (entry, runtime_pots);
});

if !runtimes.is_empty() {
if !runtime.is_empty() {
let rendered_resource_pot_ast =
resource_pot_to_runtime_object_lit(runtimes, &module_graph, context)?;
resource_pot_to_runtime_object_lit(runtime, &module_graph, context)?;

#[cfg(not(windows))]
let minimal_runtime = include_str!("./js-runtime/minimal-runtime.js");
Expand Down
3 changes: 2 additions & 1 deletion cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@
"wasix",
"wechat",
"Brooooooklyn",
"lukastaegert"
"lukastaegert",
"prefixfree"
],
"ignorePaths": [
"pnpm-lock.yaml",
Expand Down

0 comments on commit c987bc2

Please sign in to comment.