-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(pub): update fails when project contains dependency from dart sdk
Packages such as analyzer depend on macros package, which depends on _macros which is included in the Dart SDK. When the project depends on such packages, Dependabot will no longer create any PRs because it cannot find _macros package. This commit passes the DART_ROOT environment variable to dependency_services so that it can find the Dart SDK.
- Loading branch information
1 parent
1dc68ee
commit e8e9b38
Showing
3 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
pub/spec/fixtures/projects/can_update_with_dart_sdk_deps/pubspec.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
name: dependabot_testcase | ||
environment: | ||
sdk: ^3.5.0 | ||
dependencies: | ||
_macros: | ||
sdk: dart | ||
dev_dependencies: | ||
lints: ^3.0.0 |