Skip to content

Commit

Permalink
http-client: typescript 4
Browse files Browse the repository at this point in the history
  • Loading branch information
legobeat committed Sep 3, 2023
1 parent fc1de91 commit 1446aba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/exec/src/toolrunner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export class ToolRunner extends events.EventEmitter {
}

return s
} catch (err) {
} catch (err: any) {
// streaming lines to console is best effort. Don't fail a build.
this._debug(`error processing line. Failed with error ${err}`)

Expand Down
2 changes: 1 addition & 1 deletion packages/http-client/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -754,7 +754,7 @@ export class HttpClient {
}

response.headers = res.message.headers
} catch (err) {
} catch (err: any) {
// Invalid resource (contents not json); leaving result obj null
}

Expand Down

0 comments on commit 1446aba

Please # to comment.