Skip to content

Commit

Permalink
fix: fix eslint error
Browse files Browse the repository at this point in the history
  • Loading branch information
nanianlisao committed Mar 12, 2024
1 parent 2f882c2 commit 3cdfcb1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion index.d.ts
Expand Up @@ -64,4 +64,4 @@ export function portNumbers(from: number, to: number): Iterable<number>;
/**
Clear the internal cache of locked ports.
*/
export function clearLockedPorts():void
export function clearLockedPorts(): void;
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -182,4 +182,4 @@ export function portNumbers(from, to) {
export function clearLockedPorts() {
lockedPorts.old.clear();
lockedPorts.young.clear();
}
}
2 changes: 1 addition & 1 deletion test.js
Expand Up @@ -204,7 +204,7 @@ test('clear locked ports by lockedPorts', async t => {
t.not(port2, desiredPort);

// Clear locked ports
clearLockedPorts()
clearLockedPorts();
const port3 = await getPort({port: desiredPort});
t.is(port3, desiredPort);
});

0 comments on commit 3cdfcb1

Please sign in to comment.