Skip to content
This repository was archived by the owner on Mar 24, 2026. It is now read-only.

Commit 6261cad

Browse files
authored
Aot (#342)
1 parent cea1079 commit 6261cad

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

packages/custom_lint/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## Unreleased patch
2+
3+
Fix custom_lint not working on up-to-date Dart
4+
15
## 0.7.5 - 2025-02-27
26

37
Fix inconsistent version

packages/custom_lint/lib/src/workspace.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -759,7 +759,9 @@ publish_to: 'none'
759759

760760
/// Run "pub get" in the client project.
761761
Future<void> runPubGet(Directory tempDir) async {
762-
final command = Platform.resolvedExecutable;
762+
final sdkDir = dirname(Platform.resolvedExecutable);
763+
final command = join(sdkDir, Platform.isWindows ? 'dart.exe' : 'dart');
764+
763765
final result = await runProcess(
764766
command,
765767
const ['pub', 'get'],

0 commit comments

Comments
 (0)