Skip to content

Commit

Permalink
chore: pin prettier version and fix "Update Prettier" workflow (#563)
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfy1339 committed May 10, 2021
1 parent 7cb03b3 commit 2467748
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/update-prettier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Update Prettier
"on":
push:
branches:
- dependabot/npm_and_yarn/prettier-*
- renovate/prettier-*
jobs:
update_prettier:
runs-on: ubuntu-latest
Expand Down
6 changes: 3 additions & 3 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 @@ -41,7 +41,7 @@
"get-port": "^5.0.0",
"jest": "^26.2.2",
"node-fetch": "^2.6.1",
"prettier": "^2.0.1",
"prettier": "2.3.0",
"prettier-plugin-packagejson": "^2.2.9",
"semantic-release": "^17.0.0",
"ts-jest": "^26.2.0",
Expand Down
3 changes: 2 additions & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ export interface WebhookEventHandlerError extends AggregateError<WebhookError> {
*/
declare class AggregateError<T extends Error = Error>
extends Error
implements Iterable<T> {
implements Iterable<T>
{
readonly name: "AggregateError";
constructor(errors: ReadonlyArray<T | { [key: string]: any } | string>);

Expand Down
6 changes: 4 additions & 2 deletions test/fixtures/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,7 @@ import installationDeletedEvent from "./installation-deleted-payload.json";
// @see https://github.com/microsoft/TypeScript/issues/32063

export const pushEventPayload = pushEvent as PushEvent;
export const installationCreatedPayload = installationCreatedEvent as InstallationCreatedEvent;
export const installationDeletedPayload = installationDeletedEvent as InstallationDeletedEvent;
export const installationCreatedPayload =
installationCreatedEvent as InstallationCreatedEvent;
export const installationDeletedPayload =
installationDeletedEvent as InstallationDeletedEvent;

0 comments on commit 2467748

Please sign in to comment.