Skip to content

Commit

Permalink
Import main console instance
Browse files Browse the repository at this point in the history
LOGGING_CONSOLE prints to stderr. The CI docs did not say anything about
reading from stderr, so using it for this is questionable.
For now, just use the main console instance.
  • Loading branch information
cognifloyd committed Nov 20, 2020
1 parent 13d455e commit cf43962
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/molecule/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
from enrich.console import Console
from enrich.logging import RichHandler

from molecule.console import should_do_markup, theme
from molecule.console import console, should_do_markup, theme
from molecule.text import underscore

SUCCESS = 100
Expand Down

0 comments on commit cf43962

Please sign in to comment.