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

Function installPs1

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

Source from the content-addressed store, hash-verified

334describe('windows bundle swap script (#2185)', () => {
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');

Callers 1

upgrade.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected