Skip to content

Commit

Permalink
fix import (v0.1.7)
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeOShannessy committed Jun 22, 2024
1 parent 18b7aaf commit 16eafa1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
9 changes: 8 additions & 1 deletion deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 4 additions & 5 deletions main.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import {
type FdsFile,
verifyInput,
} from "jsr:@smoke-cloud/[email protected]";
} from "jsr:@smoke-cloud/[email protected]";
import * as fdsInspect from "jsr:@smoke-cloud/[email protected]";
import { Command } from "jsr:@cliffy/[email protected]";
import { open } from "./open.ts";
import {
Expand All @@ -10,8 +11,6 @@ import {
renderTypstPdf,
renderVerificationTypst,
} from "jsr:@smoke-cloud/[email protected]";
import { countCells, summarise_input } from "../fds-inspect-core/summary.ts";
// import { getJson, verifyInputRender } from "jsr:@smoke-cloud/[email protected]";

await new Command()
.name("tway-server-manager")
Expand All @@ -31,7 +30,7 @@ await new Command()
.arguments("<input-path:string>")
.action(async (_options, ...args) => {
const fdsFile = await getJson(args[0]);
const nCells = countCells(fdsFile);
const nCells = fdsInspect.summary.countCells(fdsFile);
console.log(nCells);
})
// Get Threadway Send
Expand Down Expand Up @@ -133,7 +132,7 @@ await new Command()
const inputPath = args[0];
const fdsFile: FdsFile = await getJsonTemp(inputPath);
const verificationSummary = verifyInput(fdsFile);
const inputSummary = summarise_input(fdsFile);
const inputSummary = fdsInspect.summary.summarise_input(fdsFile);
const typst = renderVerificationTypst(inputSummary, verificationSummary);
const tempFile = await Deno.makeTempFile({
prefix: fdsFile.chid,
Expand Down

0 comments on commit 16eafa1

Please sign in to comment.