Skip to content

Commit

Permalink
fix: fixed eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
smackgg committed Mar 9, 2022
1 parent 1cf0998 commit 3f56821
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/swagger.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ class Swagger {
this.swaggerObject = utils.prepareSwaggerObject(this.app, utils.prepareDefaultOptions(this.config));

// Load router file
let routerPath;
routerPath = path.join(this.baseDir, `/app/router.${this.config.ts ? 'ts' : 'js'}`);
const routerPath = path.join(this.baseDir, `/app/router.${this.config.ts ? 'ts' : 'js'}`);

this.router = new Router(this.app, routerPath);
this.router.getRouter();
Expand Down

0 comments on commit 3f56821

Please sign in to comment.