Skip to content

Commit

Permalink
Fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
floscher committed Aug 1, 2024
1 parent 59f978c commit ffb9853
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion client/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ console.log(
█ ███ █
██ █ ██ fuBlog
███████
██ █ ██ ${(appData.isProduction ? appData.appVersion ?? "‹unknown›" : "development version") + " "}
██ █ ██ ${(appData.isProduction ? (appData.appVersion ?? "‹unknown›") : "development version") + " "}
█ ███ █
███████`,
`color:#ff9c00;background:rgb(48, 48, 48);display:inline-block`,
Expand Down
2 changes: 1 addition & 1 deletion common/src/markdown-converter-common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export abstract class MarkdownConverter {
private static getKrokiDiagramTypeFromMarkdownId(markdownId: string | undefined): KrokiDiagramType | undefined {
return markdownId === undefined //
? undefined
: this.KROKI_SVG_DIAGRAM_TYPES.find((it) => it.markdownId === markdownId) ?? undefined;
: (this.KROKI_SVG_DIAGRAM_TYPES.find((it) => it.markdownId === markdownId) ?? undefined);
}

private static rendererExtension: MarkedExtension = {
Expand Down
2 changes: 1 addition & 1 deletion server/src/routes/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import { UserEntity } from "../entity/User.entity.js";
import { BadRequestError } from "../errors/BadRequestError.js";
import { ForbiddenError } from "../errors/ForbiddenError.js";
import logger from "../logger.js";
import { authMiddleware, checkIdToken } from "../service/middleware/auth.js";
import { checkIdToken } from "../service/middleware/auth.js";
import { OAuthSettings } from "../settings.js";

const router: Router = express.Router();
Expand Down

0 comments on commit ffb9853

Please sign in to comment.