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 4552d4e commit cbd91cbCopy full SHA for cbd91cb
webdev/lib/src/util.dart
@@ -33,8 +33,8 @@ final String _sdkDir = (() {
33
final String dartExecutable = Platform.isWindows
34
// Use 'where.exe' to support powershell as well
35
? (Process.runSync('where.exe', ['dart.exe']).stdout as String)
36
- .split(RegExp('(\r\n|\r|\n)'))
37
- .first
+ .split(RegExp('(\r\n|\r|\n)'))
+ .first
38
: Process.runSync('which', ['dart']).stdout;
39
final aboveExecutable = p.dirname(p.dirname(dartExecutable));
40
assert(FileSystemEntity.isFileSync(p.join(aboveExecutable, 'version')));
0 commit comments