You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: codecov/__init__.py
+14-5
Original file line number
Diff line number
Diff line change
@@ -203,7 +203,7 @@ def main(*argv, **kwargs):
203
203
basics.add_argument('--token', '-t', default=os.getenv("CODECOV_TOKEN"), help="Private repository token. Not required for public repositories on Travis-CI, CircleCI and AppVeyor")
204
204
basics.add_argument('--file', '-f', nargs="*", default=None, help="Target a specific file for uploading")
205
205
basics.add_argument('--flags', '-F', nargs="*", default=None, help="Flag these uploaded files with custom labels")
206
-
basics.add_argument('--env', '-e', nargs="*", default=os.getenv("CODECOV_ENV"), help="Store environment variables to help distinguish CI builds. Example: http://bit.ly/1ElohCu")
206
+
basics.add_argument('--env', '-e', nargs="*", default=None, help="Store environment variables to help distinguish CI builds. Example: http://bit.ly/1ElohCu")
207
207
basics.add_argument('--required', action="store_true", default=False, help="If Codecov fails it will exit 1: failing the CI build.")
0 commit comments