Skip to content

Commit

Permalink
style: prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
gr2m committed Feb 3, 2020
1 parent 7b316d8 commit 4d402c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions index.js
Expand Up @@ -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
module.exports = Octokit;
2 changes: 1 addition & 1 deletion test/integration/deprecations-test.js
Expand Up @@ -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;
Expand Down

0 comments on commit 4d402c2

Please sign in to comment.