Skip to content

Commit 7b4c105

Browse files
committed
fix(tools): windows paths
1 parent 1cb2e1b commit 7b4c105

File tree

1 file changed

+6
-1
lines changed
  • tools/pfe-tools/custom-elements-manifest/lib

1 file changed

+6
-1
lines changed

tools/pfe-tools/custom-elements-manifest/lib/Manifest.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,12 @@ export class Manifest {
320320
options.elementsDir,
321321
demo.source?.href.replace(options.sourceControlURLPrefix, '') ?? '',
322322
));
323-
console.log({ filePath });
323+
console.log({
324+
filePath,
325+
rootDir: options.rootDir,
326+
elementsDir: options.elementsDir,
327+
path: demo.source?.href.replace(options.sourceControlURLPrefix, ''),
328+
});
324329
const [last = ''] = filePath.split(path.sep).reverse();
325330
const filename = last.replace('.html', '');
326331
const isMainElementDemo = filename === 'index';

0 commit comments

Comments
 (0)