Lines 44-48 in set domain check if
// Get content hash and encode it
let contenthash = data.contenthash || null;
let rawContenthash = contenthash;
if (contenthash === "") {
contenthash = null;
}
If contenthash is an empty string, the first conditional yield null which means the conditional check later on is unused/does not cause any changes.
Lines 44-48 in set domain check if
If
contenthashis an empty string, the first conditional yieldnullwhich means the conditional check later on is unused/does not cause any changes.