Skip to content

Commit a4886ab

Browse files
committed
Delete unuse code
1 parent 9669af3 commit a4886ab

File tree

1 file changed

+0
-6
lines changed
  • backend/src/build-system/handlers/ux/sitemap-structure

1 file changed

+0
-6
lines changed

backend/src/build-system/handlers/ux/sitemap-structure/sms-page.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,12 @@ export class UXSitemapStructurePagebyPageHandler
1919

2020
const projectName =
2121
context.getGlobalContext('projectName') || 'Default Project Name';
22-
const sitemapDoc = context.getNodeData('op:UX:SMS');
2322
const uxStructureDoc = context.getNodeData('op:UX:SMS');
2423

2524
// Validate required data
2625
if (!projectName || typeof projectName !== 'string') {
2726
throw new MissingConfigurationError('Missing or invalid projectName.');
2827
}
29-
if (!sitemapDoc || typeof sitemapDoc !== 'string') {
30-
throw new MissingConfigurationError(
31-
'Missing or invalid sitemap document.',
32-
);
33-
}
3428
if (!uxStructureDoc || typeof uxStructureDoc !== 'string') {
3529
throw new MissingConfigurationError(
3630
'Missing or invalid UX Structure document.',

0 commit comments

Comments
 (0)