Skip to content

Commit

Permalink
fix: err -d
Browse files Browse the repository at this point in the history
  • Loading branch information
arpowers committed Sep 13, 2024
1 parent 50ec16f commit 7acb762
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion @fiction/core/utils/buffer.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import type { FictionEnv } from '../plugin-env'
import { EventEmitter } from 'node:events'
// eslint-disable-next-line unicorn/prefer-node-protocol
import { EventEmitter } from 'events'

type FlushCallback<T> = (items: T[], context?: FlushContext,) => any | Promise<any>
interface FlushContext { reason?: string }
Expand Down
3 changes: 2 additions & 1 deletion @fiction/core/utils/socket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ import type { FictionDb } from '../plugin-db/index.js'
import type { FictionEnv } from '../plugin-env/index.js'
import type { FictionUser, User } from '../plugin-user/index.js'
import type { Endpoint, EndpointMeta } from './endpoint.js'
import { EventEmitter } from 'node:events'
// eslint-disable-next-line unicorn/prefer-node-protocol
import { EventEmitter } from 'events'
import http from 'node:http'
import { log } from '../plugin-log/index.js'
import { EndpointServer } from './endpointServer.js'
Expand Down

0 comments on commit 7acb762

Please sign in to comment.