Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
kevmoo committed Dec 6, 2021
1 parent 97f0e68 commit abc7a19
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/src/utils.dart
Expand Up @@ -11,9 +11,10 @@ final String dartPath = (() {

return p.join(flutterRoot, 'bin', 'cache', 'dart-sdk', 'bin', 'dart');
} else {
assert(executableBaseName == 'dart');
// The Dart executable is in "/path/to/sdk/bin/dart", so two levels up is
// "/path/to/sdk".
if (executableBaseName != 'dart') {
print('huh?');
print(executableBaseName);
}
return Platform.resolvedExecutable;
}
})();

0 comments on commit abc7a19

Please sign in to comment.