Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redundant variable latestURI when checking header #1646

Closed
jennyliang220 opened this issue Sep 28, 2022 · 0 comments
Closed

Redundant variable latestURI when checking header #1646

jennyliang220 opened this issue Sep 28, 2022 · 0 comments

Comments

@jennyliang220
Copy link
Contributor

if (sn === shortname) {
latestURI = linkLate.textContent;
} else if (sn === seriesShortname) {
latestURI = `https://www.w3.org/TR/${shortname}/`;
}

latestURI is assigned but never used.

latestURI was used to extract the document's body, and compared with previousURI body, to make sure they refers to the same document. previousURI is no longer used in Process Document 2021.

So latestURI could be removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant