Skip to content

Commit 57a7c82

Browse files
Merge pull request #721 from Sese-Schneider:master
PiperOrigin-RevId: 588420928
2 parents fb8a2b5 + c5de658 commit 57a7c82

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/src/builder.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,8 @@ $rawOutput
220220
if (typeAssetId.path.startsWith('lib/')) {
221221
typeUris[element] = typeAssetId.uri.toString();
222222
} else {
223-
typeUris[element] =
224-
p.relative(typeAssetId.path, from: p.dirname(entryAssetPath));
223+
typeUris[element] = p.posix.relative(typeAssetId.path,
224+
from: p.posix.dirname(entryAssetPath));
225225
}
226226
} on UnresolvableAssetException {
227227
// Asset may be in a summary.

0 commit comments

Comments
 (0)