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

Aot #342

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions packages/custom_lint/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## Unreleased patch

Fix custom_lint not working on up-to-date Dart

## 0.7.5 - 2025-02-27

Fix inconsistent version
Expand Down
4 changes: 3 additions & 1 deletion packages/custom_lint/lib/src/workspace.dart
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,9 @@ publish_to: 'none'

/// Run "pub get" in the client project.
Future<void> runPubGet(Directory tempDir) async {
final command = Platform.resolvedExecutable;
final sdkDir = dirname(Platform.resolvedExecutable);
final command = join(sdkDir, Platform.isWindows ? 'dart.exe' : 'dart');

final result = await runProcess(
command,
const ['pub', 'get'],
Expand Down