Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
aryanjassal committed Oct 10, 2024
1 parent a82d1fa commit d0d03fb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/client/handlers/VaultsPermissionSet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ import type {
PermissionSetMessage,
SuccessMessage,
} from '../types';
import VaultManager from '../../vaults/VaultManager';
import GestaltGraph from '../../gestalts/GestaltGraph';
import type ACL from '../../acl/ACL';
import NotificationsManager from '../../notifications/NotificationsManager';
import type { VaultAction, VaultActions } from '../../vaults/types';
import type { NodeId } from '../../ids';
import type VaultManager from '../../vaults/VaultManager';
import type NotificationsManager from '../../notifications/NotificationsManager';
import type GestaltGraph from '../../gestalts/GestaltGraph';
import { UnaryHandler } from '@matrixai/rpc';
import * as ids from '../../ids';
import * as vaultsUtils from '../../vaults/utils';
Expand Down
2 changes: 1 addition & 1 deletion tests/client/handlers/vaults.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1438,7 +1438,7 @@ describe('vaultsSecretsMkdir', () => {
await writer.close();
// Check if the operation concluded as expected
for await (const data of response.readable) {
if (data.type != 'success') {
if (data.type !== 'success') {
const error = data as ErrorMessage;
expect(error.code).toEqual('ENOENT');
expect(error.reason).toEqual(dirPath3);
Expand Down
2 changes: 1 addition & 1 deletion tests/vaults/VaultOps.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import type KeyRing from '@/keys/KeyRing';
import type { LevelPath } from '@matrixai/db';
import type { FileTree } from '@/vaults/types';
import type { ContentNode, TreeNode } from '@/vaults/types';
import type { ErrorMessage } from '@/client/types';
import fs from 'fs';
import path from 'path';
import os from 'os';
Expand All @@ -17,7 +18,6 @@ import * as vaultsErrors from '@/vaults/errors';
import * as vaultsUtils from '@/vaults/utils';
import * as keysUtils from '@/keys/utils';
import * as testNodesUtils from '../nodes/utils';
import { ErrorMessage, SuccessOrErrorMessage } from '@/client/types';

describe('VaultOps', () => {
const logger = new Logger('VaultOps', LogLevel.WARN, [new StreamHandler()]);
Expand Down

0 comments on commit d0d03fb

Please sign in to comment.