Skip to content

Commit

Permalink
Fix sourcemap error
Browse files Browse the repository at this point in the history
  • Loading branch information
hoontee committed Aug 14, 2023
1 parent 609043c commit 1af60fd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Lync/sourcemap/sourcemap.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ module.exports.generateSourcemap = function(PROJECT_JSON, map, projectJson) {
}
}
}
targetParent.children.splice(targetKey, 1)
if (targetParent)
targetParent.children.splice(targetKey, 1)
continue
}

Expand Down

0 comments on commit 1af60fd

Please sign in to comment.