Skip to content

Commit

Permalink
Merge pull request #6 from seriousme/fix-getargs
Browse files Browse the repository at this point in the history
fix getArgs
  • Loading branch information
seriousme authored Mar 15, 2024
2 parents 14797c1 + 963c4de commit 3eef535
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 10 deletions.
2 changes: 1 addition & 1 deletion bin/mqtt.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { DEFAULT_URL } from "../client/mod.ts";
import { logger, LogLevel } from "../utils/mod.ts";
import { getArgs, parseArgs } from "../utils/mod.ts";
import { TcpClient } from "../deno/client.ts";
import { getCaCerts, TcpClient } from "../deno/client.ts";

const client = new TcpClient();
const encoder = new TextEncoder();
Expand Down
2 changes: 1 addition & 1 deletion deno.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@seriousme/opifex",
"version": "1.0.9",
"version": "1.0.10",
"exports": {
"./server": "./server/mod.ts",
"./client": "./client/mod.ts"
Expand Down
16 changes: 8 additions & 8 deletions deno.lock

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

1 change: 1 addition & 0 deletions utils/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ export { Logger, logger, LogLevel } from "./logger.ts";
export { AsyncQueue } from "./asyncQueue.ts";
export { nextTick } from "./nextTick.ts";
export { parseArgs } from "./args.ts";
export { getArgs } from "./platform.ts";
3 changes: 3 additions & 0 deletions utils/platform.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export function getArgs() {
return Deno.args;
}

0 comments on commit 3eef535

Please sign in to comment.