Skip to content

Commit

Permalink
chore: deps
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillgroshkov committed Apr 6, 2024
1 parent 036f6d9 commit 46769a4
Show file tree
Hide file tree
Showing 4 changed files with 662 additions and 633 deletions.
2 changes: 1 addition & 1 deletion src/admin/base.admin.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ export class BaseAdminService {
? reqPermissions.filter(p => hasPermissions.has(p))
: []

let granted = false
let granted: boolean
if (andComparison) {
granted = !!hasPermissions && grantedPermissions.length === reqPermissions.length // All permissions granted
void this.onPermissionCheck(req, email, reqPermissions, true, granted, meta)
Expand Down
2 changes: 1 addition & 1 deletion src/test/globalSetup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ declare global {
}
}

// eslint-disable-next-line import/no-anonymous-default-export, import/no-default-export
// eslint-disable-next-line import/no-anonymous-default-export, import/no-default-export, unicorn/no-anonymous-default-export
export default async (): Promise<void> => {
const resources = [debugResource]

Expand Down
2 changes: 1 addition & 1 deletion src/test/globalTeardown.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { _since } from '@naturalcycles/js-lib'

// eslint-disable-next-line import/no-anonymous-default-export, import/no-default-export
// eslint-disable-next-line import/no-anonymous-default-export, import/no-default-export, unicorn/no-anonymous-default-export
export default async (): Promise<void> => {
const started = Date.now()
// @ts-expect-error
Expand Down
Loading

0 comments on commit 46769a4

Please sign in to comment.