Skip to content

Commit 0034e6e

Browse files
committed
fix type errors
1 parent c4b9652 commit 0034e6e

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

.claude/settings.local.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"permissions": {
3+
"allow": [
4+
"Bash(npm run *)"
5+
]
6+
}
7+
}

src/main.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,10 @@ async function run(): Promise<void> {
152152
positionals.push(...splitCommand(command));
153153
}
154154

155-
const env: NodeJS.ProcessEnv = { ...process.env };
155+
const env: Record<string, string> = {};
156+
for (const [key, value] of Object.entries(process.env)) {
157+
if (value !== undefined) env[key] = value;
158+
}
156159
if (driver === 'browser' && !env.CHROME) {
157160
const chromeVersion = core.getInput('chrome-version') || 'stable';
158161
const useCache = parseBool(core.getInput('cache'), 'cache');

0 commit comments

Comments
 (0)