Skip to content
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.

Commit

Permalink
chore: remove dead code in zombienet provider (#748)
Browse files Browse the repository at this point in the history
  • Loading branch information
tjjfvi authored Mar 15, 2023
1 parent 4ffe1c3 commit d868c14
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions providers/frame/zombienet.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { unreachable } from "../../deps/std/testing/asserts.ts"
import { Network, readNetworkConfig, start } from "../../deps/zombienet.ts"
import { PathInfo } from "../../server/mod.ts"
import { PermanentMemo } from "../../util/mod.ts"
Expand Down Expand Up @@ -36,14 +35,4 @@ export class ZombienetProvider extends FrameProxyProvider {
if (!url) throw new Error()
return url
}

async network(zombienetCachePath: string, networkManifestPath: string): Promise<Network> {
const watcher = Deno.watchFs(zombienetCachePath)
for await (const e of watcher) {
if (e.kind === "modify" && e.paths.includes(networkManifestPath)) {
return JSON.parse(await Deno.readTextFile(networkManifestPath))
}
}
return unreachable()
}
}

0 comments on commit d868c14

Please sign in to comment.