Skip to content

fix: use p.join for Windows path compatibility (#250)#393

Open
assassinaj602 wants to merge 1 commit into
google:masterfrom
assassinaj602:fix-dartdoc-test-reporting
Open

fix: use p.join for Windows path compatibility (#250)#393
assassinaj602 wants to merge 1 commit into
google:masterfrom
assassinaj602:fix-dartdoc-test-reporting

Conversation

@assassinaj602

Copy link
Copy Markdown

Description

Fixes the "Path must be normalized" error on Windows when running dartdoc_test.

The Problem

The test directory path was hardcoded with forward slashes in lib/src/resource.dart:

const _testPath = '.dart_tool/dartdoc_test';  // ❌ Causes mixed slashes on Windows

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant