Skip to content

Commit

Permalink
fix: πŸ› typos
Browse files Browse the repository at this point in the history
  • Loading branch information
IWANABETHATGUY committed Dec 10, 2023
1 parent 856ae81 commit fb3f52d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion napi/src/options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ impl Into<oxc_resolver::Restriction> for Restriction {
fn into(self) -> oxc_resolver::Restriction {
match (self.path, self.regex) {
(None, None) => {
panic!("Should specifiy path or regex")
panic!("Should specify path or regex")
}
(None, Some(regex)) => oxc_resolver::Restriction::RegExp(regex),
(Some(path), None) => oxc_resolver::Restriction::Path(PathBuf::from(path)),
Expand Down

0 comments on commit fb3f52d

Please sign in to comment.