From 1c795f3c6bc0bcd1fdba766ce299671a81080407 Mon Sep 17 00:00:00 2001 From: Anton Golub Date: Sat, 16 Mar 2024 15:56:36 +0300 Subject: [PATCH] chore: linting --- src/core.ts | 5 ++++- src/vendor.ts | 5 +---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/core.ts b/src/core.ts index 5d27090c0d..7634ba0652 100644 --- a/src/core.ts +++ b/src/core.ts @@ -210,7 +210,10 @@ export class ProcessPromise extends Promise { 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) } }, diff --git a/src/vendor.ts b/src/vendor.ts index 0fd3850e72..941ffabe66 100644 --- a/src/vendor.ts +++ b/src/vendor.ts @@ -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[0]