Skip to content

Commit

Permalink
[pre-commit.ci lite] apply automatic fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci-lite[bot] authored Oct 27, 2023
1 parent 6317473 commit dd43c8d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
5 changes: 2 additions & 3 deletions packages/cursorless-engine/src/actions/Find.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@ export class FindInWorkspace implements SimpleAction {
async run(targets: Target[]): Promise<ActionReturnValue> {
ensureSingleTarget(targets);

const { returnValue, thatTargets } = await this.actions.getText.run(
targets,
);
const { returnValue, thatTargets } =
await this.actions.getText.run(targets);
const [text] = returnValue as [string];

let query: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,8 @@ export class TestCaseRecorder {
const keys = targetedMarks.map(({ character, symbolColor }) =>
getKey(symbolColor, character),
);
const readableHatMap = await this.hatTokenMap.getReadableMap(
usePrePhraseSnapshot,
);
const readableHatMap =
await this.hatTokenMap.getReadableMap(usePrePhraseSnapshot);
marks = marksToPlainObject(extractTargetedMarks(keys, readableHatMap));
} else {
marks = undefined;
Expand Down
5 changes: 2 additions & 3 deletions packages/meta-updater/src/updatePackageJson.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,8 @@ async function getScripts(
if (isRoot) {
// Ensure that `pnpm transform-recorded-tests` mirrors what is in pre-commit
// config
scripts["transform-recorded-tests"] = await getTransformRecordedTestsScript(
packageDir,
);
scripts["transform-recorded-tests"] =
await getTransformRecordedTestsScript(packageDir);

return scripts;
}
Expand Down

0 comments on commit dd43c8d

Please sign in to comment.