We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8578a89 commit 2186c67Copy full SHA for 2186c67
packages/wasm/src/registry.ts
@@ -69,10 +69,6 @@ export function getImages(): Array<DebugImage> {
69
*/
70
export function getImage(url: string): number {
71
return IMAGES.findIndex(image => {
72
- if (image.type === 'wasm') {
73
- return image.code_file === url;
74
- } else {
75
- return false;
76
- }
+ return image.type === 'wasm' && image.code_file === url;
77
});
78
}
0 commit comments