Skip to content

Commit

Permalink
fix(es): Fix typo in a warning (swc-project#7740)
Browse files Browse the repository at this point in the history
  • Loading branch information
BiscuiTech authored and kdy1 committed Aug 15, 2023
1 parent f5823b2 commit 5894c4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/swc/src/config/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ impl Options {
let top_level_mark = self.top_level_mark.unwrap_or_else(Mark::new);

if target.is_some() && cfg.env.is_some() {
bail!("`jsc.env` and `jsc.target` cannot be used together");
bail!("`env` and `jsc.target` cannot be used together");
}

let es_version = target.unwrap_or_default();
Expand Down

0 comments on commit 5894c4f

Please sign in to comment.