Skip to content

Commit

Permalink
fix getArgs
Browse files Browse the repository at this point in the history
  • Loading branch information
seriousme committed Mar 15, 2024
1 parent 14797c1 commit 963c4de
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
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,25 @@
"version": "3",
"packages": {
"specifiers": {
"jsr:@std/assert@0.215.0": "jsr:@std/assert@0.215.0",
"jsr:@std/fmt@^0.215.0": "jsr:@std/fmt@0.215.0"
"jsr:@std/assert@0.220.1": "jsr:@std/assert@0.220.1",
"jsr:@std/fmt@^0.220.1": "jsr:@std/fmt@0.220.1"
},
"jsr": {
"@std/assert@0.215.0": {
"integrity": "4d80a5b5f1aef916131e3b5dcf8cfdad397affe87da7fa6398d8088e146d1e48",
"@std/assert@0.220.1": {
"integrity": "88710d54f3afdd7a5761e7805abba1f56cd14e4b212feffeb3e73a9f77482425",
"dependencies": [
"jsr:@std/fmt@^0.215.0"
"jsr:@std/fmt@^0.220.1"
]
},
"@std/fmt@0.215.0": {
"integrity": "c6477b26423be9f5504ddfba73afcb7ead995a6886048bb091c420697c3d96b0"
"@std/fmt@0.220.1": {
"integrity": "3b1a698477a26b1dacbbee26db1a65030a005c6d71db3b3a0e59f8a638f04d7a"
}
}
},
"remote": {},
"workspace": {
"dependencies": [
"jsr:@std/assert@0.215.0"
"jsr:@std/assert@0.220.1"
]
}
}
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 963c4de

Please sign in to comment.