Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4003538

Browse files
mheveryatscott
authored andcommitted
fix(core): Remove debugger statement when assert is thrown (#35763)
Fix #35470 Fix FW-1925 PR Close #35763
1 parent 8f38eb7 commit 4003538

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

‎packages/core/src/util/assert.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,6 @@ export function assertDefined<T>(actual: T, msg: string) {
9393
export function throwError(msg: string): never;
9494
export function throwError(msg: string, actual: any, expected: any, comparison: string): never;
9595
export function throwError(msg: string, actual?: any, expected?: any, comparison?: string): never {
96-
// tslint:disable-next-line
97-
debugger; // Left intentionally for better debugger experience.
9896
throw new Error(
9997
`ASSERTION ERROR: ${msg}` +
10098
(comparison == null ? '' : ` [Expected=> ${expected} ${comparison} ${actual} <=Actual]`));

0 commit comments

Comments
 (0)