MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / checkWindowsUncPath

Function checkWindowsUncPath

packages/cli/src/browser/preflight.ts:227–237  ·  view source on GitHub ↗
(projectDir = process.cwd())

Source from the content-addressed store, hash-verified

225}
226
227function 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
239export async function runEnvironmentChecks(
240 options: EnvironmentCheckOptions = {},

Callers 1

runEnvironmentChecksFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected