mirror of
https://github.com/PR0M3TH3AN/TORCH.git
synced 2026-10-27 07:51:52 +00:00
fix(ci): resolve lint error and broken import in tests
- Remove unused `randomInt` import in `src/lock-publisher.mjs`. - Fix broken import path for `withTimeout` in `src/relay-health.mjs` (from `./utils.mjs` to `./lock-utils.mjs`). - Verify fix with `npm test` and `npm run lint`. Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
8e015459a3
commit
e9a0c12d02
5 files changed
+10839
-2
No files matched your search
@@ -1,4 +1,4 @@
|
||||
import { randomUUID, randomInt } from 'node:crypto';
|
||||
import { randomUUID } from 'node:crypto';
|
||||
import { SimplePool } from 'nostr-tools/pool';
|
||||
import {
|
||||
getPublishTimeoutMs,
|
||||
|
||||
@@ -4,7 +4,7 @@ import WebSocket from 'ws';
|
||||
import { finalizeEvent, generateSecretKey, getPublicKey } from 'nostr-tools/pure';
|
||||
import { getNamespace, getRelays } from './torch-config.mjs';
|
||||
import { MS_PER_SECOND } from './constants.mjs';
|
||||
import { withTimeout } from './utils.mjs';
|
||||
import { withTimeout } from './lock-utils.mjs';
|
||||
|
||||
const PROBE_KIND = 27235;
|
||||
|
||||
|
||||
+3591
File diff suppressed because it is too large.
Load diff
+3590
File diff suppressed because it is too large.
Load diff
+3656
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user