Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge branch 'main' into hmakholm/pr/fix-escaping
Andrew Eisenberg authored and GitHub committed May 5, 2021

Unverified

No user is associated with the committer email.
2 parents a6ebb19 + 5321045 commit b477190
Showing 3 changed files with 19 additions and 3 deletions.
9 changes: 8 additions & 1 deletion lib/count-loc.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/count-loc.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 10 additions & 1 deletion src/count-loc.ts
@@ -72,7 +72,16 @@ export async function countLoc(
logger.debug(` ${language}: ${count}`);
}
} else {
logger.warning("Did not find any lines of code in database.");
logger.info(
"Could not determine the total number of lines of code in this repository. " +
"Because of this, it will not be possible to compare the number of lines " +
"of code analyzed by code scanning with the total number of lines of " +
"code in the repository. This will not affect the results produced by code " +
"scanning. If you have any questions, you can raise an issue at " +
"https://github.com/github/codeql-action/issues. Please include a link " +
"to the repository if public, or otherwise information about the code scanning " +
"workflow you are using."
);
}

return lineCounts;

0 comments on commit b477190

Please sign in to comment.