From abc7a19d1b8cb62e6a42f498d39eb04956de3ac5 Mon Sep 17 00:00:00 2001 From: Kevin Moore Date: Mon, 6 Dec 2021 15:15:39 -0800 Subject: [PATCH] debugging --- lib/src/utils.dart | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/src/utils.dart b/lib/src/utils.dart index 64e85d0..0c2f4b8 100644 --- a/lib/src/utils.dart +++ b/lib/src/utils.dart @@ -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; } })();