We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01a9c5d commit f1fa5beCopy full SHA for f1fa5be
pkgs/native_toolchain_c/lib/src/tool/tool_resolver.dart
@@ -208,7 +208,7 @@ class InstallLocationResolver implements ToolResolver {
208
Future<List<Uri>> tryResolvePath(String path) async {
209
if (path.startsWith(home)) {
210
final homeDir_ = homeDir;
211
- assert(homeDir_ != null);
+ if (homeDir_ == null) return [];
212
path = path.replaceAll(
213
'$home/',
214
homeDir!.toFilePath().replaceAll('\\', '/'),
0 commit comments