Skip to content

Commit 5a1b76a

Browse files
committed
add semicolon to end of snippet
1 parent a1b1d90 commit 5a1b76a

File tree

1 file changed

+1
-1
lines changed
  • packages/faro-bundlers-shared/src

1 file changed

+1
-1
lines changed

packages/faro-bundlers-shared/src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ export const uploadCompressedSourceMaps = async (
139139
};
140140

141141
export const faroBundleIdSnippet = (bundleId: string, appName: string) => {
142-
return `(function(){try{var g=typeof window!=="undefined"?window:typeof global!=="undefined"?global:typeof self!=="undefined"?self:{};g["__faroBundleId_${appName}"]="${bundleId}"}catch(l){}})()`;
142+
return `(function(){try{var g=typeof window!=="undefined"?window:typeof global!=="undefined"?global:typeof self!=="undefined"?self:{};g["__faroBundleId_${appName}"]="${bundleId}"}catch(l){}})();`;
143143
};
144144

145145
export function randomString(length?: number): string {

0 commit comments

Comments
 (0)