(projectDir = process.cwd())
| 225 | } |
| 226 | |
| 227 | function checkWindowsUncPath(projectDir = process.cwd()): EnvironmentCheckOutcome | undefined { |
| 228 | if (platform() !== "win32") return undefined; |
| 229 | if (!projectDir.startsWith("\\\\")) return undefined; |
| 230 | return { |
| 231 | name: "Windows path", |
| 232 | ok: true, |
| 233 | level: "warn", |
| 234 | detail: `UNC path: ${projectDir}`, |
| 235 | hint: "Chrome may fail to launch from a network share. Use a local drive if render startup fails.", |
| 236 | }; |
| 237 | } |
| 238 | |
| 239 | export async function runEnvironmentChecks( |
| 240 | options: EnvironmentCheckOptions = {}, |
no outgoing calls
no test coverage detected