mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
Replace echo(style(...)) with secho(...) (#5090)
This commit is contained in:
@@ -35,7 +35,6 @@ from pipenv.vendor.click import (
|
||||
option,
|
||||
pass_context,
|
||||
secho,
|
||||
style,
|
||||
version_option,
|
||||
)
|
||||
|
||||
@@ -324,17 +323,15 @@ def lock(ctx, state, **kwargs):
|
||||
dev_only = state.lockoptions.dev_only
|
||||
pre = state.installstate.pre
|
||||
if emit_requirements:
|
||||
echo(
|
||||
style(
|
||||
"""
|
||||
secho(
|
||||
"""
|
||||
Warning: The lock flag -r/--requirements will be deprecated in a future version
|
||||
of pipenv in favor of the new requirements command. For more info see
|
||||
https://pipenv.pypa.io/en/latest/advanced/#generating-a-requirements-txt
|
||||
NOTE: the requirements command parses Pipfile.lock directly without performing any
|
||||
locking operations. Updating packages should be done by running pipenv lock
|
||||
""",
|
||||
fg="yellow",
|
||||
)
|
||||
fg="yellow",
|
||||
)
|
||||
# Emit requirements file header (unless turned off with --no-header)
|
||||
if state.lockoptions.emit_requirements_header:
|
||||
|
||||
Reference in New Issue
Block a user