Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
xieyuheng committed Jul 28, 2023
1 parent 164eade commit 3413f46
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/console/commands/RenderCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import Path from "path"
import { Net } from "../../lang/graph"
import { netRun } from "../../lang/graph/netRun"
import { Mod } from "../../lang/mod"
import { modBuildNet } from "../../lang/mod/modBuildNet"
import { Parser } from "../../lang/syntax"
import { NetRenderer } from "../../renderers/NetRenderer"

Expand Down Expand Up @@ -76,7 +77,7 @@ export class RenderCommand extends Command<Args, Opts> {
}

async function renderNet(mod: Mod, file: string, name: string): Promise<void> {
const net = mod.buildNet(name)
const net = modBuildNet(mod, name)
renderFile(net, `${file}.${name}.initial.txt`)
netRun(net)
renderFile(net, `${file}.${name}.finial.txt`)
Expand Down

0 comments on commit 3413f46

Please sign in to comment.