Skip to content

Commit 9d18f48

Browse files
Fixed minor bug which made renew command to fail on false positives
1 parent b50e3fa commit 9d18f48

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
out
22
ToDo
33
deno.lock
4+
dxpm.json
45
dxpm.jsonc

app.meta.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const getGHRawURL = (branch: string, resource: string) =>
22
`https://raw.githubusercontent.com/Techzy-Programmer/dxpm/${branch}${resource}`;
3-
const VERSION = "v0.2.6-us";
3+
const VERSION = "v0.2.7-us";
44

55
export {
66
getGHRawURL,

lib/helper/network.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ async function read(conn: Deno.Conn) {
2828
const n = await conn.read(buf);
2929

3030
if (!n) {
31-
elog("Daemon process exited unexpectedly!");
32-
Deno.exit(1);
31+
throw new Error("Daemon process exited unexpectedly!");
3332
}
3433

3534
const dataBuff = buf.subarray(0, n);

0 commit comments

Comments
 (0)