Skip to content

Commit

Permalink
refactor: use absolute path
Browse files Browse the repository at this point in the history
  • Loading branch information
DIY0R committed Sep 24, 2024
1 parent 898a32a commit efc7a18
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/graph/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { asyncTaskQueue } from 'lib/utils';
import { asyncTaskQueue } from '../utils';
import FileGraphIml from './file.graph';
import StorageFile from './storage.file';

Expand Down
2 changes: 1 addition & 1 deletion lib/utils/merge-vertex.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { IVertex } from 'lib/interfaces';
import { IVertex } from '../interfaces';

export const mergeVertices = <T extends object>(
vertex: IVertex<T>,
Expand Down
4 changes: 2 additions & 2 deletions test/graph.test.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import assert from 'node:assert';
import { before, describe, test } from 'node:test';
import { FileGraph, IUuidArray, uuidType } from 'lib';
import { FileGraph, IUuidArray, uuidType } from '../lib';
import { writeFileSync } from 'node:fs';
import { createError } from 'lib/utils';
import { createError } from '../lib/utils';

const pathGraph = 'data.txt';
const graph = FileGraph(pathGraph);
Expand Down

0 comments on commit efc7a18

Please sign in to comment.