From 4d402c227fe212ee44f3e36fa8b936c2b6ef080d Mon Sep 17 00:00:00 2001 From: Gregor Martynus Date: Sun, 2 Feb 2020 17:52:27 -0800 Subject: [PATCH] style: prettier --- index.js | 7 +++---- test/integration/deprecations-test.js | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/index.js b/index.js index cbdb6203..97a1a604 100644 --- a/index.js +++ b/index.js @@ -35,9 +35,8 @@ const Octokit = Object.assign(DeprecatedOctokit, { Object.keys(OctokitRest).forEach(key => { if (OctokitRest.hasOwnProperty(key)) { - Octokit[key] = OctokitRest[key] + Octokit[key] = OctokitRest[key]; } -}) - +}); -module.exports = Octokit \ No newline at end of file +module.exports = Octokit; diff --git a/test/integration/deprecations-test.js b/test/integration/deprecations-test.js index 93988f07..a63ca2e8 100644 --- a/test/integration/deprecations-test.js +++ b/test/integration/deprecations-test.js @@ -23,7 +23,7 @@ describe("deprecations", () => { expect(warnCalledCount).to.equal(1); expect(() => new DeprecatedOctokit()).to.not.throw(); - expect(typeof DeprecatedOctokit.plugin).to.equal('function'); + expect(typeof DeprecatedOctokit.plugin).to.equal("function"); }); it("octokit.search.issues() has been renamed to octokit.search.issuesAndPullRequests() (2018-12-27)", () => { let warnCalledCount = 0;