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: Print Resolving dependencies... on begining command melos. #662

Open
1 task done
patou opened this issue Mar 14, 2024 · 2 comments
Open
1 task done

fix: Print Resolving dependencies... on begining command melos. #662

patou opened this issue Mar 14, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@patou
Copy link

patou commented Mar 14, 2024

Is there an existing issue for this?

  • I have searched the existing issues.

Version

5.1.0

Description

When the melos command is running first time (as in a CI), the melos command can put Resolving dependencies... text.

$ melos --version
Resolving dependencies...
Got dependencies!
5.1.0

It's problematic if I use the melos command with script like get the current version :

melos_version=`melos --version`
echo $melos_version

Or with the command melos list --json

Steps to reproduce

Use a differente melos global version than the local version in the current pubspec.yml

Expected behavior

Add an option to not check dependency and not print this text.

Screenshots

No response

Additional context and comments

No response

@patou patou added the bug Something isn't working label Mar 14, 2024
@spydon
Copy link
Collaborator

spydon commented Mar 14, 2024

This is actually a flutter pub get issue and not a Melos one, there is an issue open for it here: dart-lang/pub#3998

@spydon
Copy link
Collaborator

spydon commented Mar 14, 2024

I guess we could proxy it and pipe all non-error output to /dev/null though...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants