Skip to content

Chore/test empty string 2 #30

Chore/test empty string 2

Chore/test empty string 2 #30

Triggered via pull request October 8, 2024 23:27
Status Failure
Total duration 48s
Artifacts

no-empty-strings.yml

on: pull_request
check-for-empty-strings
39s
check-for-empty-strings
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 7 warnings
check-for-empty-strings
6 empty strings detected in the code.
check-for-empty-strings
Process completed with exit code 1.
check-for-empty-strings
The following actions use a deprecated Node.js version and will be forced to run on node20: tibdex/github-app-token@v1.7.0. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
check-for-empty-strings: .github/empty-string-checker.ts#L45
Empty string found: // core.setFailed(`${emptyStrings.length} empty string${emptyStrings.length > 1 ? "s" : ""} detected in the code.`);
check-for-empty-strings: .github/empty-string-checker.ts#L80
Empty string found: let currentFile = "";
check-for-empty-strings: .github/empty-string-checker.ts#L86
Empty string found: currentFile = line.replace("+++ b/", "");
check-for-empty-strings: .github/empty-string-checker.ts#L90
Empty string found: if (line.includes('""')) {
check-for-empty-strings: build/index.ts#L7
Empty string found: const _EMPTY_STRING_TEST_1 = "";
check-for-empty-strings: build/index.ts#L9
Empty string found: const _EMPTY_STRING_TEST_2 = "";