Skip to content

Commit

Permalink
Fix Trailing spaces not allowed.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulrutter committed Jan 30, 2025
1 parent f23f4fc commit f240ec2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/core/timed-out.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export default function timedOut(request: ClientRequest, delays: Delays, options
const cancelers: Array<typeof noop> = [];
const {once, unhandleAll} = unhandler();
const handled: Record<string, boolean> = {};

const addTimeout = (delay: number, callback: (delay: number, event: string) => void, event: string): (typeof noop) => {
const timeout = setTimeout(callback, delay, delay, event) as unknown as NodeJS.Timeout;

Expand Down

0 comments on commit f240ec2

Please sign in to comment.