Skip to content

Commit c5de658

Browse files
Apply suggestions from code review
1 parent 1a652b8 commit c5de658

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] = p.Context(style: p.Style.posix)
224-
.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)