Skip to content

Commit

Permalink
ci: fix fluentci client initialization error
Browse files Browse the repository at this point in the history
  • Loading branch information
tsirysndr committed Feb 24, 2024
1 parent f9f10fb commit f3eace2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
2 changes: 0 additions & 2 deletions .fluentci/deps.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
export { assertEquals } from "https://deno.land/[email protected]/testing/asserts.ts";
import { Client } from "./sdk/client.gen.ts";
export default Client;

export type { DirectoryID, SecretID } from "./sdk/client.gen.ts";
export { Directory, Secret, File } from "./sdk/client.gen.ts";
Expand Down
3 changes: 2 additions & 1 deletion .fluentci/src/dagger/jobs.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import Client, { Directory, Secret, File } from "../../deps.ts";
import { Directory, Secret, File } from "../../deps.ts";
import { connect } from "../../sdk/connect.ts";
import { existsSync } from "node:fs";
import { getDirectory, getDenoDeployToken, getGithubToken } from "./lib.ts";
import { Client } from "../../sdk/client.gen.ts";

export enum Job {
fmt = "fmt",
Expand Down
8 changes: 2 additions & 6 deletions .fluentci/src/dagger/lib.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
import Client, {
Directory,
DirectoryID,
Secret,
SecretID,
} from "../../deps.ts";
import { Directory, DirectoryID, Secret, SecretID } from "../../deps.ts";
import { Client } from "../../sdk/client.gen.ts";

export const getDirectory = async (
client: Client,
Expand Down

0 comments on commit f3eace2

Please sign in to comment.