Skip to content

Commit 8b67d5f

Browse files
author
santerijps
committed
fix bin script import
1 parent f14be2d commit 8b67d5f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bin.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env node
22

33

4-
import { parse_file } from ".";
4+
import mion from ".";
55
import fs from "node:fs";
66

77

@@ -23,7 +23,7 @@ async function main() {
2323
}
2424

2525
try {
26-
const json = await parse_file(argv[0]);
26+
const json = await mion.mion_file_to_json(argv[0]);
2727
console.log(JSON.stringify(json, null, 2));
2828
process.exit(0);
2929
}

0 commit comments

Comments
 (0)