Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
🐛 Normalize the path before creating a file object
  • Loading branch information
AlexV525 committed May 28, 2025
commit 2cbbd784880ba9a9c05492ab195bc9e47b483330
3 changes: 2 additions & 1 deletion packages/flutter_tools/lib/src/build_system/depfile.dart
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ class DepfileService {
// The tool doesn't write duplicates to these lists. This call is an attempt to
// be resilient to the outputs of other tools which write or user edits to depfiles.
.toSet()
.map(_fileSystem.file)
// Normalize the path before creating a file object.
.map((String path) => _fileSystem.file(_fileSystem.path.normalize(path)))
.toList();
}
}
Expand Down