MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / script

Function script

__tests__/upgrade.test.ts:337–337  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

335 const INSTALL_PS1 = path.join(__dirname, '..', 'install.ps1');
336 const installPs1 = () => fs.readFileSync(INSTALL_PS1, 'utf-8').replace(/\r\n/g, '\n');
337 const script = () => buildWindowsUpgradeScript('C:\\Users\\me\\AppData\\Local\\codegraph\\current', 'v1.6.2', 'x64');
338 /** The swap function's own statements, comments dropped. */
339 const swapCode = () => WINDOWS_SWAP_FUNCTION.split('\n').filter((l) => !l.trim().startsWith('#')).join('\n');
340

Callers 1

upgrade.test.tsFile · 0.85

Calls 1

Tested by

no test coverage detected