Skip to content

Commit 82bcb8b

Browse files
committed
ref(core): Remove duplicate internal DEBUG_BUILD constant
1 parent 9d659a5 commit 82bcb8b

File tree

8 files changed

+7
-15
lines changed

8 files changed

+7
-15
lines changed

packages/core/src/utils-hoist/baggage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { DynamicSamplingContext } from '../types-hoist/envelope';
2-
import { DEBUG_BUILD } from './debug-build';
2+
import { DEBUG_BUILD } from './../debug-build';
33
import { isString } from './is';
44
import { logger } from './logger';
55

packages/core/src/utils-hoist/debug-build.ts

Lines changed: 0 additions & 8 deletions
This file was deleted.

packages/core/src/utils-hoist/dsn.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { DsnComponents, DsnLike, DsnProtocol } from '../types-hoist/dsn';
2-
import { DEBUG_BUILD } from './debug-build';
2+
import { DEBUG_BUILD } from './../debug-build';
33
import { consoleSandbox, logger } from './logger';
44

55
/** Regular expression used to parse a Dsn. */

packages/core/src/utils-hoist/instrument/handlers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { DEBUG_BUILD } from '../debug-build';
1+
import { DEBUG_BUILD } from '../../debug-build';
22
import { logger } from '../logger';
33
import { getFunctionName } from '../stacktrace';
44

packages/core/src/utils-hoist/logger.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { getGlobalSingleton } from '../carrier';
22
import type { ConsoleLevel } from '../types-hoist/instrument';
3-
import { DEBUG_BUILD } from './debug-build';
3+
import { DEBUG_BUILD } from './../debug-build';
44
import { GLOBAL_OBJ } from './worldwide';
55

66
/** Prefix for logging strings */

packages/core/src/utils-hoist/object.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* eslint-disable @typescript-eslint/no-explicit-any */
22
import type { WrappedFunction } from '../types-hoist/wrappedfunction';
33
import { htmlTreeAsString } from './browser';
4-
import { DEBUG_BUILD } from './debug-build';
4+
import { DEBUG_BUILD } from './../debug-build';
55
import { isElement, isError, isEvent, isInstanceOf, isPrimitive } from './is';
66
import { logger } from './logger';
77
import { truncate } from './string';

packages/core/src/utils-hoist/supports.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { DEBUG_BUILD } from './debug-build';
1+
import { DEBUG_BUILD } from './../debug-build';
22
import { logger } from './logger';
33
import { GLOBAL_OBJ } from './worldwide';
44

packages/core/test/utils-hoist/dsn.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { beforeEach, describe, expect, test, vi } from 'vitest';
2-
import { DEBUG_BUILD } from '../../src/utils-hoist/debug-build';
2+
import { DEBUG_BUILD } from '../../src/utils-hoist/../debug-build';
33
import { dsnToString, makeDsn } from '../../src/utils-hoist/dsn';
44
import { logger } from '../../src/utils-hoist/logger';
55

0 commit comments

Comments
 (0)