10000 exit the process after creating wrapped function · sdemjanenko/sentry-javascript@a332fb3 · GitHub
[go: up one dir, main page]

Skip to content

Commit a332fb3

Browse files
committed
exit the process after creating wrapped function
1 parent b9c6921 commit a332fb3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/utils/src/object.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ export function fill(source: { [key: string]: any }, name: string, replacementFa
2828
const original = source[name] as () => any;
2929
const wrapped = replacementFactory(original) as WrappedFunction;
3030
console.log(`just created wrapped function for ${source}.${name}`);
31+
process.exit(26);
3132

3233
// Make sure it's a function first, as we need to attach an empty prototype for `defineProperties` to work
3334
// otherwise it'll throw "TypeError: Object.defineProperties called on non-object"

0 commit comments

Comments
 (0)
0