Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit 8596652

Browse files
Merge pull request #59 from render-oss/robdimarco-render/fix-typescript-error
Fix typescript error in brew build
2 parents c0de4b6 + 903ebcb commit 8596652

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

commands/services/tail.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,10 @@ export const servicesTailCommand =
8787
json = (new TextDecoder()).decode(input);
8888
}
8989

90-
const msg = JSON.parse(json);
90+
const rawMsg = JSON.parse(json);
9191

92-
if (logEntryValidator(msg)) {
92+
if (logEntryValidator(rawMsg)) {
93+
const msg = rawMsg as {deployID: string; text: string}
9394
if (deployIds && !deployIds.has(msg.deployID)) {
9495
continue;
9596
}

0 commit comments

Comments
 (0)