Skip to content

Commit 526bb42

Browse files
authored
fix: posix join (#23)
1 parent f1c0860 commit 526bb42

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/createImports.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import ts from "typescript";
22
import { sync } from "glob";
3-
import { extname, basename, join } from "path";
3+
import { extname, basename, posix } from "path";
4+
5+
const { join } = posix;
46

57
export const createImports = (generatedClientsPath: string) => {
68
const models = sync(join(generatedClientsPath, 'models', '*.ts').replace(/\\/g, '/'));

0 commit comments

Comments
 (0)