Skip to content

Commit 6ac71f9

Browse files
committed
fix formatting
1 parent cd974e4 commit 6ac71f9

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

packages/profiling-node/rollup.npm.config.mjs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const require = createRequire(import.meta.url);
1414
const ESMDirnameShim = `
1515
const filename = fileURLToPath(import.meta.url);
1616
const __dirname = dirname(__filename);
17-
`
17+
`;
1818

1919
function makeESMImportShimPlugin(shim) {
2020
return {
@@ -34,13 +34,13 @@ function makeESMRequireShimPlugin(shim) {
3434
};
3535
}
3636

37-
function makeESMDirnameShimPlugin(shim){
37+
function makeESMDirnameShimPlugin(shim) {
3838
return {
39-
transform(code){
40-
const SHIM_REGEXP = /\/\/ #START_SENTRY_ESM_DIRNAME_SHIM[\s\S]*?\/\/ #END_SENTRY_ESM_DIRNAME_SHIM/
39+
transform(code) {
40+
const SHIM_REGEXP = /\/\/ #START_SENTRY_ESM_DIRNAME_SHIM[\s\S]*?\/\/ #END_SENTRY_ESM_DIRNAME_SHIM/;
4141
return code.replace(SHIM_REGEXP, shim);
42-
}
43-
}
42+
},
43+
};
4444
}
4545

4646
const variants = makeNPMConfigVariants(

packages/profiling-node/src/cpu_profiler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { arch as _arch, platform as _platform } from 'node:os';
2-
import { join, resolve} from 'node:path';
2+
import { join, resolve } from 'node:path';
33
import { env, versions } from 'node:process';
44
import { threadId } from 'node:worker_threads';
55
import { familySync } from 'detect-libc';

0 commit comments

Comments
 (0)