cleanup
This commit is contained in:
parent
a79ec67d9c
commit
7c72d987f9
1 changed files with 20 additions and 20 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import { z } from "zod";
|
||||
import { githubRequest, buildUrl } from "../common/utils";
|
||||
import { GitHubCommitSchema, GitHubListCommitsSchema } from "../common/types";
|
||||
import { githubRequest, buildUrl } from "../common/utils.js";
|
||||
import { GitHubCommitSchema, GitHubListCommitsSchema } from "../common/types.js";
|
||||
|
||||
// Schema definitions
|
||||
export const ListCommitsSchema = z.object({
|
||||
|
|
@ -92,4 +92,4 @@ export async function compareCommits(
|
|||
ahead_by: z.number(),
|
||||
behind_by: z.number(),
|
||||
}).parse(response);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue