Skip to content

Commit e6add91

Browse files
authored
fix: digitalExperience to isBundle check
1 parent a8efa5e commit e6add91

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/shared/functions.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ export const getKeyFromObject = (element: RemoteChangeElement | ChangeResult): s
1919
throw new Error(`unable to complete key from ${JSON.stringify(element)}`);
2020
};
2121

22-
export const isBundle = (cmp: SourceComponent): boolean => cmp.type.strategies?.adapter === 'bundle';
22+
export const isBundle = (cmp: SourceComponent): boolean =>
23+
cmp.type.strategies?.adapter === 'bundle' || cmp.type.strategies?.adapter === 'digitalExperience';
2324
export const isLwcLocalOnlyTest = (filePath: string): boolean =>
2425
filePath.includes('__utam__') || filePath.includes('__tests__');
2526

0 commit comments

Comments
 (0)