Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dart Pubspec dependency_overrides Not Copied #201

Open
jaboyc opened this issue Oct 25, 2023 · 0 comments
Open

Dart Pubspec dependency_overrides Not Copied #201

jaboyc opened this issue Oct 25, 2023 · 0 comments

Comments

@jaboyc
Copy link

jaboyc commented Oct 25, 2023

When building a Dart project, the dependency_overrides of the pubspec.yaml are not copied to the server, which prevents my Dart project from being built.

I believe modifying

final updatedPubspec = serverPub.copy(dependencies: dependencies);
to

  final updatedPubspec = serverPub.copy(
    dependencies: dependencies,
    dependencyOverrides: serverPub.dependencyOverrides,
  );

would resolve the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant