Skip to content

Commit 193e4be

Browse files
fix typo (#546)
* fix typo * fix: update test --------- Co-authored-by: Tom Hu <88201630+thomasrockhu-codecov@users.noreply.github.com> Co-authored-by: Tom Hu <thomas.hu@sentry.io>
1 parent 87d5916 commit 193e4be

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

codecov_cli/commands/upload.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def _turn_env_vars_into_dict(ctx, params, value):
162162
"--handle-no-reports-found",
163163
"handle_no_reports_found",
164164
is_flag=True,
165-
help="Raise no excpetions when no coverage reports found.",
165+
help="Raise no exceptions when no coverage reports found.",
166166
),
167167
click.option(
168168
"--report-type",

codecov_cli/services/upload/file_finder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"*junit*.xml",
4040
"*test*.xml",
4141
# the actual JUnit (Java) prefixes the tests with "TEST-"
42-
"*TEST-*.xml"
42+
"*TEST-*.xml",
4343
]
4444

4545
coverage_files_excluded_patterns = [

tests/commands/test_invoke_upload_coverage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def test_upload_coverage_options(mocker):
114114
" -d, --dry-run Don't upload files to Codecov",
115115
" --legacy, --use-legacy-uploader",
116116
" Use the legacy upload endpoint",
117-
" --handle-no-reports-found Raise no excpetions when no coverage reports",
117+
" --handle-no-reports-found Raise no exceptions when no coverage reports",
118118
" found.",
119119
" --report-type [coverage|test_results]",
120120
" The type of the file to upload, coverage by",

tests/commands/test_invoke_upload_process.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def test_upload_process_options(mocker):
114114
" -d, --dry-run Don't upload files to Codecov",
115115
" --legacy, --use-legacy-uploader",
116116
" Use the legacy upload endpoint",
117-
" --handle-no-reports-found Raise no excpetions when no coverage reports",
117+
" --handle-no-reports-found Raise no exceptions when no coverage reports",
118118
" found.",
119119
" --report-type [coverage|test_results]",
120120
" The type of the file to upload, coverage by",

0 commit comments

Comments
 (0)