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

Fix add package with offline flag #4395

Merged
merged 2 commits into from
Sep 27, 2024
Merged

Conversation

marcoedomingos
Copy link
Contributor

@marcoedomingos marcoedomingos commented Sep 24, 2024

Fix an issue that prevented users from adding cached packages using the --offline flag through the add command line when the system is offline.

Steps:

Run the following command in an offline state (no internet connection):
dart pub add package_name --offline

@marcoedomingos
Copy link
Contributor Author

marcoedomingos commented Sep 24, 2024

@marcoedomingos
Copy link
Contributor Author

@szakarias
@jonasfj
review

@sigurdm
Copy link
Contributor

sigurdm commented Sep 27, 2024

Thanks for fixing this!

@sigurdm sigurdm merged commit 9adca58 into dart-lang:master Sep 27, 2024
23 checks passed
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

Successfully merging this pull request may close these issues.

2 participants