Skip to content

Commit c6b33b9

Browse files
authored
Merge pull request #608 from github/aeisenberg/baseline-message
Clarify missing LoC baseline message
2 parents c357ca7 + d939c4b commit c6b33b9

File tree

4 files changed

+16
-17
lines changed

4 files changed

+16
-17
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## [UNRELEASED]
44

55
- The `analyze` step of the Action now supports a `skip-queries` option to merely build the CodeQL database without analyzing. This functionality is not present in the runner. Additionally, the step will no longer fail if it encounters a finalized database, and will instead continue with query execution. [#602](https://github.com/github/codeql-action/pull/602)
6+
- Update the warning message when the baseline lines of code count is unavailable. [#608](https://github.com/github/codeql-action/pull/608)
67

78
## 1.0.4 - 28 Jun 2021
89

lib/count-loc.js

Lines changed: 7 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/count-loc.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/count-loc.ts

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -98,14 +98,13 @@ export async function countLoc(
9898
}
9999
} else {
100100
logger.info(
101-
"Could not determine the total number of lines of code in this repository. " +
102-
"Because of this, it will not be possible to compare the number of lines " +
103-
"of code analyzed by code scanning with the total number of lines of " +
104-
"code in the repository. This will not affect the results produced by code " +
105-
"scanning. If you have any questions, you can raise an issue at " +
106-
"https://github.com/github/codeql-action/issues. Please include a link " +
107-
"to the repository if public, or otherwise information about the code scanning " +
108-
"workflow you are using."
101+
"Could not determine the baseline lines of code count in this repository. " +
102+
"Because of this, it will not be possible to compare the lines " +
103+
"of code analyzed by code scanning with the baseline. This will not affect " +
104+
"the results produced by code scanning. If you have any questions, you can " +
105+
"raise an issue at https://github.com/github/codeql-action/issues. Please " +
106+
"include a link to the repository if public, or otherwise information about " +
107+
"the code scanning workflow you are using."
109108
);
110109
}
111110

0 commit comments

Comments
 (0)