mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-05 07:50:22 +00:00
fix(plugins): clean bundled extension lint tail
This commit is contained in:
@@ -43,7 +43,7 @@ const activeBuses = new Map<string, NostrBusHandle>();
|
||||
// Store metrics snapshots per account (for status reporting)
|
||||
const metricsSnapshots = new Map<string, MetricsSnapshot>();
|
||||
|
||||
function normalizeNostrAllowEntry(entry: string): string | "*" | null {
|
||||
function normalizeNostrAllowEntry(entry: string): string | null {
|
||||
const trimmed = entry.trim();
|
||||
if (!trimmed) {
|
||||
return null;
|
||||
|
||||
@@ -182,8 +182,7 @@ export async function publishProfileEvent(
|
||||
setTimeout(() => reject(new Error("timeout")), RELAY_PUBLISH_TIMEOUT_MS);
|
||||
});
|
||||
|
||||
// oxlint-disable-next-line typescript/no-floating-promises
|
||||
await Promise.race([pool.publish([relay], event), timeoutPromise]);
|
||||
await Promise.race([...pool.publish([relay], event), timeoutPromise]);
|
||||
|
||||
successes.push(relay);
|
||||
} catch (err) {
|
||||
|
||||
Reference in New Issue
Block a user