Skip to content

Commit

Permalink
chore: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
antongolub committed Mar 16, 2024
1 parent 0ba3f47 commit 1c795f3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 4 additions & 1 deletion src/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,10 @@ export class ProcessPromise extends Promise<ProcessOutput> {
on: {
start: () => {
if (self._timeout) {
const t = setTimeout(() => self.kill(self._timeoutSignal), self._timeout)
const t = setTimeout(
() => self.kill(self._timeoutSignal),
self._timeout
)
self.finally(() => clearTimeout(t)).catch(noop)
}
},
Expand Down
5 changes: 1 addition & 4 deletions src/vendor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,7 @@ import * as yaml from 'yaml'
import * as _fs from 'fs-extra'
import type { fetch } from 'node-fetch-native'

export {
exec,
buildCmd,
} from 'zurk/spawn'
export { exec, buildCmd } from 'zurk/spawn'

export { fetch as nodeFetch } from 'node-fetch-native'
export type RequestInfo = Parameters<typeof fetch>[0]
Expand Down

0 comments on commit 1c795f3

Please sign in to comment.