GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — onicode/scripts/check-changed-command.ts at main · aislopware/onicode Expand file tree/ Copy pathcheck-changed-command.tsMore file actions 19 lines (18 loc) · 809 Bytes / Copy pathcheck-changed-command.tsFile metadata and controls19 lines (18 loc) · 809 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 // @effect-diagnostics nodeBuiltinImport:off import * as NodeURL from "node:url"; export function vitePlusCommand( args: ReadonlyArray<string>, // oxlint-disable-next-line onicode/no-global-process-runtime -- Standalone Node tooling has no Effect runtime; tests pass the platform explicitly. platform: NodeJS.Platform = process.platform, ): [command: string, args: Array<string>] { // Windows cannot spawn the package manager's vp.cmd shim without a shell. // Use Vite+'s exported JS entry with this Node instead, keeping paths and // arguments literal. Resolve here, not from the patch check's temporary cwd. if (platform === "win32") { return [ process.execPath, [NodeURL.fileURLToPath(import.meta.resolve("vite-plus/bin")), ...args], ]; } return ["vp", [...args]]; } |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |