Skip to content

Commit 76eaba3

Browse files
committed
chore: remove unneeded change
1 parent 5c6c133 commit 76eaba3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/@lwc/engine-core/src/framework/check-version-mismatch.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import { isNull, LWC_VERSION, LWC_VERSION_COMMENT_REGEX } from '@lwc/shared';
99
import { logError } from '../shared/logger';
1010

1111
import { report, ReportingEventId } from './reporting';
12-
import { assertNotProd } from './utils';
1312
import type { Template } from './template';
1413
import type { LightningElementConstructor } from './base-lightning-element';
1514
import type { Stylesheet } from '@lwc/shared';
@@ -37,7 +36,6 @@ export function checkVersionMismatch(
3736
func: Template | Stylesheet | LightningElementConstructor,
3837
type: 'template' | 'stylesheet' | 'component'
3938
) {
40-
assertNotProd();
4139
const versionMatcher = func.toString().match(LWC_VERSION_COMMENT_REGEX);
4240
if (!isNull(versionMatcher) && !warned) {
4341
if (typeof process === 'object' && process.env.SKIP_LWC_VERSION_MISMATCH_CHECK === 'true') {

0 commit comments

Comments
 (0)