From e242016124e2ea93f8402b42411eebd9bc15c639 Mon Sep 17 00:00:00 2001 From: Tyler Albee Date: Sat, 6 Jul 2024 23:54:09 -0700 Subject: [PATCH] fix: grammatical error in `packages-without-package-json` (#77) --- src/rules/packages_without_package_json.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rules/packages_without_package_json.rs b/src/rules/packages_without_package_json.rs index 27ad71f..cc4d31c 100644 --- a/src/rules/packages_without_package_json.rs +++ b/src/rules/packages_without_package_json.rs @@ -30,7 +30,7 @@ impl Issue for PackagesWithoutPackageJsonIssue { } fn message(&self) -> String { - format!(" {}/package.json doesn't exists.", self.package) + format!(" {}/package.json doesn't exist.", self.package) } fn why(&self) -> Cow<'static, str> { @@ -74,7 +74,7 @@ mod test { assert_eq!(issue.level(), IssueLevel::Warning); colored::control::set_override(false); - assert_eq!(issue.message(), " test/package.json doesn't exists."); + assert_eq!(issue.message(), " test/package.json doesn't exist."); assert_eq!( issue.why(), "All packages matching the workspace should have a package.json file."