From fb3f52d9de5812137805c4cefb0d3f782d5601bf Mon Sep 17 00:00:00 2001 From: IWANABETHATGUY Date: Sun, 10 Dec 2023 18:05:57 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20typos?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- napi/src/options.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/napi/src/options.rs b/napi/src/options.rs index 85d779bc..a2795567 100644 --- a/napi/src/options.rs +++ b/napi/src/options.rs @@ -230,7 +230,7 @@ impl Into 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)),