diff --git a/src/index.ts b/src/index.ts index 9e94cdcd..2cf0dfee 100644 --- a/src/index.ts +++ b/src/index.ts @@ -248,7 +248,7 @@ export class Probot { public get webhook(): Webhooks { this.log.warn( new Deprecation( - `[probot] "probot.webhook" is deprecated. Use "probot.webhooks" instead instead` + `[probot] "probot.webhook" is deprecated. Use "probot.webhooks" instead` ) ); diff --git a/test/deprecations.test.ts b/test/deprecations.test.ts index ab07100e..e845a784 100644 --- a/test/deprecations.test.ts +++ b/test/deprecations.test.ts @@ -36,7 +36,7 @@ describe("Deprecations", () => { expect(output.length).toEqual(1); expect(output[0].msg).toContain( - `[probot] "probot.webhook" is deprecated. Use "probot.webhooks" instead instead` + `[probot] "probot.webhook" is deprecated. Use "probot.webhooks" instead` ); });