Skip to content

Commit

Permalink
ghactions
Browse files Browse the repository at this point in the history
  • Loading branch information
inverted-capital committed Oct 23, 2024
1 parent d790263 commit 0bf35ba
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 7 deletions.
4 changes: 2 additions & 2 deletions _tools/check_licence.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// deno-lint-ignore-file no-console
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
import { walk } from "../fs/walk.ts";
import { globToRegExp } from "../path/glob_to_regexp.ts";
import { walk } from "@std/fs/walk";
import { globToRegExp } from "@std/path/glob-to-regexp";

const EXTENSIONS = [".mjs", ".js", ".ts", ".rs"];
const EXCLUDED_DIRS = [
Expand Down
4 changes: 2 additions & 2 deletions _tools/packages.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.

import { walk } from "@std/fs/walk.ts";
import { relative } from "@std/path/mod.ts";
import { walk } from "@std/fs/walk";
import { relative } from "@std/path";

export async function discoverPackages() {
const packages = [];
Expand Down
6 changes: 3 additions & 3 deletions files/napp.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import { reasoning, ToApiType } from "../types.ts";
import { z } from "zod";
const reasoning = z.string().array().optional().describe(
"reasoning for the operation",
);

export const parameters = {
write: z.object({
Expand Down Expand Up @@ -101,5 +103,3 @@ export const returns = {
z.object({ path: z.string(), description: z.string() }),
),
};

export type Api = ToApiType<typeof parameters, typeof returns>;
6 changes: 6 additions & 0 deletions openai/completions.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,9 @@
// complete.mock.teardown()
// stop()
// })

import * as m from "./completions.ts";
import { expect } from "@std/expect";
Deno.test("publish", () => {
expect(m.n).toBe(84);
});

0 comments on commit 0bf35ba

Please sign in to comment.