Skip to content

Commit

Permalink
Update generator to use jsr
Browse files Browse the repository at this point in the history
  • Loading branch information
zephraph committed Feb 17, 2025
1 parent 20984aa commit ae09f8e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/generate-schema/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { walk } from "https://deno.land/[email protected]/fs/walk.ts";
import { basename, join } from "https://deno.land/[email protected]/path/mod.ts";
import { parse } from "https://deno.land/[email protected]/flags/mod.ts";
import { walk } from "jsr:@std/fs/walk";
import { join } from "jsr:@std/path";
import { parseArgs } from "jsr:@std/cli/parse-args";
import type { JSONSchema } from "../../json-schema.d.ts";
import { generateTypeScript } from "./gen-typescript.ts";
import { generatePython } from "./gen-python.ts";
Expand All @@ -23,7 +23,7 @@ async function ensureDir(dir: string) {
}

async function main() {
const flags = parse(Deno.args, {
const flags = parseArgs(Deno.args, {
string: ["language"],
alias: { language: "l" },
});
Expand Down

0 comments on commit ae09f8e

Please sign in to comment.