Skip to content

Commit

Permalink
fix: x attempt at resolving import issue
Browse files Browse the repository at this point in the history
Still seeing the below error in CI

> Error: src/filesystem/Workspace.ts(4,27): error TS2307: Cannot find module './getRandomUUID' or its corresponding type declarations.
> Error: Process completed with exit code 2.
  • Loading branch information
aalemayhu committed Sep 14, 2023
1 parent a16baca commit f2c829e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 0 additions & 5 deletions src/filesystem/GetRandomUUID.ts

This file was deleted.

5 changes: 4 additions & 1 deletion src/filesystem/Workspace.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
import crypto from 'crypto';
import path from 'path';
import fs from 'fs';

import getRandomUUID from './getRandomUUID';
function getRandomUUID() {
return crypto.randomUUID();
}

class Workspace {
location: string;
Expand Down

0 comments on commit f2c829e

Please sign in to comment.