Skip to content

Commit

Permalink
Merge pull request #17 from johnmanjiro13/renovate/prettier-3.x
Browse files Browse the repository at this point in the history
chore(deps): update dependency prettier to v3
  • Loading branch information
johnmanjiro13 authored Jul 13, 2023
2 parents ce72637 + d2af0b8 commit 2bcf764
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.27.5",
"prettier": "^2.8.8",
"prettier": "^3.0.0",
"typescript": "^5.1.3"
}
}
8 changes: 4 additions & 4 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ async function run() {
});
} catch (error) {
core.setFailed(
error instanceof Error ? error.message : JSON.stringify(error)
error instanceof Error ? error.message : JSON.stringify(error),
);
}
}
Expand Down Expand Up @@ -105,7 +105,7 @@ function validateByIgnore(ignore: Ignore, title: string): boolean {
function getReviewers(
filenames: string[],
config: Config,
dot: boolean
dot: boolean,
): { users: string[]; teams: string[] } {
const users = new Set<string>();
const teams = new Set<string>();
Expand All @@ -123,7 +123,7 @@ function getReviewers(
}
reviewer.paths.some((path) => {
const matchedFiles = filenames.filter(
minimatch.filter(path, { matchBase: true, dot })
minimatch.filter(path, { matchBase: true, dot }),
);
core.debug(`Matched files: ${matchedFiles.join(",")}`);
if (matchedFiles.length > 0) {
Expand All @@ -142,5 +142,5 @@ function getReviewers(

run().then(
() => {},
() => {}
() => {},
);

0 comments on commit 2bcf764

Please sign in to comment.