We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a7067d commit 0dc0d7aCopy full SHA for 0dc0d7a
.github/scripts/check-gs.ts
@@ -169,8 +169,9 @@ async function checkProject(
169
try {
170
await execAsync(`tsc -p \"${projectTempDir}\"`, { cwd: rootDir });
171
return { name: project.name, success: true, output: "" };
172
- } catch (e: { stdout: string; stderr: string }) {
173
- const rawOutput = (e.stdout || "") + (e.stderr || "");
+ } catch (e) {
+ const err = e as { stdout?: string; stderr?: string };
174
+ const rawOutput = (err.stdout ?? "") + (err.stderr || "");
175
176
const rewritten = rawOutput
177
.split("\n")
0 commit comments