Skip to content

Commit 51b3e58

Browse files
committed
wks:v0:ref: clean up TODO comments in error and HTML cleaning services
- Removed outdated TODO comments regarding type inference and metrics usage. - Standardized the formatting of TODO comments for consistency in the scrape service.
1 parent 9f0a31e commit 51b3e58

3 files changed

Lines changed: 2 additions & 3 deletions

File tree

apps/workers/v0/src/middlewares/error.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ interface ErrorIssue {
1616
cause?: unknown;
1717
}
1818

19-
// TODO: INFER TO THE SOURCE OF TYPE PACKAGE LATER
2019
interface ErrorResponse {
2120
success: boolean;
2221
targetUrl?: string;

apps/workers/v0/src/services/html-cleaning/html-cleaning.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,6 @@ export async function HTMLRewriterCleaning({
9292

9393
return {
9494
cleanedHtml,
95-
// metrics, // TODO: CURRENTLY NOT USED, CONSIDER ADD A FLAG TO ENABLE/DISABLE METRICS BY USER
95+
// metrics, // CURRENTLY NOT USED
9696
};
9797
}

apps/workers/v0/src/services/scrape/scrape.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ export class ScrapeService {
228228
}
229229
}
230230

231-
// todo: allow user to add known sitemap paths
231+
// TODO: allow user to add known sitemap paths
232232
// If no sitemap found yet, try common locations
233233
if (!result.sitemapXML) {
234234
const sitemapPaths = [

0 commit comments

Comments
 (0)