Skip to content

Commit

Permalink
refactor(ts-client): import order
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonkuhrt committed Apr 20, 2024
1 parent ae9ab07 commit 893a5e0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/cli/generate.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/usr/bin/env node

import { Command } from '@molt/command'
import * as Path from 'node:path'
import { z } from 'zod'
import { generateFiles } from '../generator/files.js'

Expand Down Expand Up @@ -35,7 +36,7 @@ const args = Command.create().description(`Generate a type safe GraphQL client.`
},
})
.parse()
import * as Path from 'node:path'

await generateFiles({
sourceDirPath: Path.dirname(args.schema),
outputDirPath: args.output,
Expand Down

0 comments on commit 893a5e0

Please sign in to comment.