-
Notifications
You must be signed in to change notification settings - Fork 8
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
Yamlfixer hangs on Git bash #43
Comments
Looks like a bug in git bash for me. If yamlfixer hangs its probably because it tries to read input from stdin, and it only does this if :
|
@adriens : if pressing |
It does not interrupt, even not |
Strange... Could you launch again with --debug then ? |
That's what I said : you shell is buggy. In the code there's this : # Ensure we read from stdin in case it's redirected
if ("-" not in sys.argv[1:]) and not sys.stdin.isatty():
sys.argv.append("-") This condition should not be met, but it is, hence there's probably a bug in your shell. |
@adriens could you paste the result of this on your git bash shell :
|
I'll provide yo uthat this afternoon 👍 |
This sucks... |
Sure 💩 💋 |
Big time ! |
Legendary 💣 |
@adriens Not a bug in I'll keep this one open though, because there's a similar issue when run from a GitHub action and I'm working on this atm. |
@adriens here's a workaround for you : https://jpcodeqa.com/q/37d31f92ab77ec9de6be7e217da60985 |
in a way that's a good news you could reproduce it 🤞 |
@mbarre pour cf and not os.environ.get("GITHUB_ACTIONS")
and not os.environ.get("CI"): exposer les variables dans |
Yep, je viens d'ajouter GITHUB_ACTIONS, publication de l'image docker en cours |
cf yamlfixer/yamlfixer/__main__.py Line 48 in 9942074
|
The text was updated successfully, but these errors were encountered: