Skip to content

Commit

Permalink
Merge pull request #232 from mateen-demah/main
Browse files Browse the repository at this point in the history
fix library path on windows
  • Loading branch information
Kilian Schulte authored Oct 19, 2024
2 parents bd144ab + d29db9b commit 01c2d17
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ class MappableBuilder implements Builder {
final outputId = buildStep.allowedOutputs.first;

var libraryPath = p.posix
.relative(buildStep.inputId.path, from: p.dirname(outputId.path));
.relative(buildStep.inputId.path, from: p.dirname(outputId.path))
.replaceAll('\\', '/');
var source = DartFormatter(pageWidth: options.lineLength ?? 80).format(
'// coverage:ignore-file\n'
'// GENERATED CODE - DO NOT MODIFY BY HAND\n'
Expand Down

0 comments on commit 01c2d17

Please sign in to comment.