mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-10-30 16:50:47 +08:00
chore: run codespell to fix typos automagically
This commit is contained in:
@@ -40,7 +40,7 @@ pub enum Actions {
|
||||
err: git2::Error,
|
||||
},
|
||||
#[error("failed to deserialize the COB manifest {oid}: {err}")]
|
||||
Manfiest {
|
||||
Manifest {
|
||||
oid: Oid,
|
||||
#[source]
|
||||
err: json::Error,
|
||||
|
||||
@@ -173,7 +173,7 @@ impl<'a, A> ActionsIter<'a, A> {
|
||||
.map_or("unknown".to_string(), |kind| kind.to_string()),
|
||||
})?;
|
||||
let manifest = serde_json::from_slice::<Manifest>(blob.content()).map_err(|err| {
|
||||
error::Actions::Manfiest {
|
||||
error::Actions::Manifest {
|
||||
oid: blob.id().into(),
|
||||
err,
|
||||
}
|
||||
|
||||
+1
-1
@@ -119,7 +119,7 @@ export default [
|
||||
"warn",
|
||||
{ default: ["field", "signature", "constructor", "method"] },
|
||||
],
|
||||
// Allow explict type annotations for additional clarity.
|
||||
// Allow explicit type annotations for additional clarity.
|
||||
"@typescript-eslint/no-inferrable-types": "off",
|
||||
"@typescript-eslint/no-invalid-void-type": ["warn"],
|
||||
// Disallow Unused Variables.
|
||||
|
||||
@@ -85,7 +85,7 @@ export function createSummary(
|
||||
} else if (lastAction.type === "review") {
|
||||
summary = `left a review with a comment on revision %${formatOid(lastAction.revision)}%`;
|
||||
} else if (lastAction.type === "assign") {
|
||||
summary = "changed assignes";
|
||||
summary = "changed assigns";
|
||||
} else if (lastAction.type === "revision.comment.edit") {
|
||||
summary = `edited ${count > 1 ? count : "a"} ${pluralize("comment", count)}`;
|
||||
} else if (lastAction.type === "comment.redact") {
|
||||
|
||||
@@ -96,7 +96,7 @@ class UpdateChecker {
|
||||
);
|
||||
}
|
||||
|
||||
// Enable background udpate checking.
|
||||
// Enable background update checking.
|
||||
public enable = (): void => {
|
||||
isEnabledStore.value = true;
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { expect, markdownRid, test } from "@tests/support/fixtures.js";
|
||||
import { chromium } from "playwright";
|
||||
|
||||
// We explicitly run all clipboard tests withing the context of a single test
|
||||
// We explicitly run all clipboard tests within the context of a single test
|
||||
// so that we don't run into race conditions, because there is no way to isolate
|
||||
// the clipboard in Playwright yet.
|
||||
test("copy to clipboard", async () => {
|
||||
|
||||
@@ -33,7 +33,7 @@ export function logPrefix(label: string): string {
|
||||
}
|
||||
|
||||
// We reset colors at the beginning of each line to avoid styles from previous
|
||||
// lines messing up prefix colors. This is noticable in rust stack traces
|
||||
// lines messing up prefix colors. This is noticeable in rust stack traces
|
||||
// where the `in` and `with` keywords have a white background color.
|
||||
return chalk.reset[assignedColors[label]](
|
||||
`${label.padEnd(PADDING_WIDTH)} | `,
|
||||
|
||||
Reference in New Issue
Block a user