ci: fix lint and tau rpc typing
parent
4e20a20927
commit
96722bba08
|
|
@ -31,7 +31,7 @@ describe("media store redirects", () => {
|
|||
|
||||
it("follows redirects and keeps detected mime/extension", async () => {
|
||||
let call = 0;
|
||||
mockRequest.mockImplementation((url, _opts, cb) => {
|
||||
mockRequest.mockImplementation((_url, _opts, cb) => {
|
||||
call += 1;
|
||||
const res = new PassThrough();
|
||||
const req = {
|
||||
|
|
|
|||
|
|
@ -7,7 +7,13 @@ type TauRpcOptions = {
|
|||
timeoutMs: number;
|
||||
};
|
||||
|
||||
type TauRpcResult = { stdout: string; stderr: string; code: number };
|
||||
type TauRpcResult = {
|
||||
stdout: string;
|
||||
stderr: string;
|
||||
code: number;
|
||||
signal?: NodeJS.Signals | null;
|
||||
killed?: boolean;
|
||||
};
|
||||
|
||||
class TauRpcClient {
|
||||
private child: ChildProcessWithoutNullStreams | null = null;
|
||||
|
|
|
|||
Loading…
Reference in New Issue