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

Serge always prints debug output on CI. #121

Open
zhukic opened this issue Aug 26, 2019 · 1 comment
Open

Serge always prints debug output on CI. #121

zhukic opened this issue Aug 26, 2019 · 1 comment

Comments

@zhukic
Copy link

zhukic commented Aug 26, 2019

Hi.
I use Serge on our Bitbucket Pipelines CI server and I noticed that Serge prints a lot of debugging information (about 478K lines) when running serge localize config.serge but there is no --debug option. Locally on my machine, with the same environment, everything works fine.
After hours of investigation, I found out that Serge probably uses CI environment variable which is predefined in Bitbucket Pipelines CI.

Currently, it can be fixed via unset CI during work with Serge.

Thanks.

@iafan
Copy link
Contributor

iafan commented Sep 3, 2019

This was originally done on purpose, see ab0ec0e

However, when implementing this, I didn't think about interfering about production use of Serge on a CI server where the same environment variable is set. So we need to distinguish these two use cases somehow...

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

2 participants