MCPcopy Index your code
hub / github.com/getsentry/sentry-javascript / run

Function run

dev-packages/e2e-tests/ciCopyToTemp.ts:5–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3import { copyToTemp } from './lib/copyToTemp';
4
5async function run(): Promise<void> {
6 const originalPath = process.argv[2];
7 const tmpDirPath = process.argv[3];
8
9 if (!originalPath || !tmpDirPath) {
10 throw new Error('Original path and tmp dir path are required');
11 }
12
13 console.log(`Copying ${originalPath} to ${tmpDirPath}...`);
14
15 await copyToTemp(originalPath, tmpDirPath);
16}
17
18run().catch(error => {
19 console.error(error);

Callers 1

ciCopyToTemp.tsFile · 0.70

Calls 2

copyToTempFunction · 0.90
logMethod · 0.65

Tested by

no test coverage detected