mirror of
https://github.com/pnpm/pnpm.git
synced 2026-07-02 03:45:12 -04:00
style(package-manifest): drop trailing comma in single-line assert!
Dylint's perfectionist::macro-trailing-comma rule rejected the single- line `assert!` formatting I'd accidentally inherited from the multi- line shape — remove the trailing comma so the lint clears. https://claude.ai/code/session_01D8WBTfQzTpsZsRknrzwNKL
This commit is contained in:
@@ -419,7 +419,7 @@ fn safe_read_surfaces_non_not_found_io_errors() {
|
||||
|
||||
let err = safe_read_package_json_from_dir(dir.path())
|
||||
.expect_err("read_to_string on a directory should fail");
|
||||
assert!(matches!(err, PackageManifestError::Io(_)), "expected Io error, got {err:?}",);
|
||||
assert!(matches!(err, PackageManifestError::Io(_)), "expected Io error, got {err:?}");
|
||||
}
|
||||
|
||||
/// `convert_engines_runtime_to_dependencies` ignores `devEngines.runtime`
|
||||
|
||||
Reference in New Issue
Block a user