Skip to content

Commit 7536d10

Browse files
committed
Minor fix
Co-authored-by: Matheus Aguiar <[email protected]>
1 parent 1bf0d30 commit 7536d10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

linker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ function replacePlaceholder (bytecode: string, label: string, address: string, l
3939
// truncate to 36 characters
4040
const truncatedName = label.slice(0, 36);
4141

42-
if (linkReferences && linkReferences[truncatedName]) {
42+
if (linkReferences[truncatedName]) {
4343
linkReferences[truncatedName].forEach(function (reference) {
4444
const start = reference.start * 2;
4545
const end = (reference.start + reference.length) * 2;

0 commit comments

Comments
 (0)