Decaptalized file name in log msg

When trying to generate requirements.txt and file is already existent, the user message produced asks for "Requirements.txt" instead of "requirements.txt". 
This may cause some trouble when used in case sensitive env, as well as in automated scripts.
This commit is contained in:
Rahul M. Juliato 2021-04-26 12:05:41 -03:00 committed by GitHub
parent cb4add28ef
commit b188c8ba83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -469,7 +469,7 @@ def init(args):
and not args["--savepath"]
and not args["--force"]
and os.path.exists(path)):
logging.warning("Requirements.txt already exists, "
logging.warning("requirements.txt already exists, "
"use --force to overwrite it")
return