Skip to content

Commit

Permalink
fix: posix join (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jtree03 committed Aug 22, 2023
1 parent f1c0860 commit 526bb42
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/createImports.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import ts from "typescript";
import { sync } from "glob";
import { extname, basename, join } from "path";
import { extname, basename, posix } from "path";

const { join } = posix;

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

0 comments on commit 526bb42

Please sign in to comment.