📖 Change thru to through (#3449)

Signed-off-by: AdamKorcz <adam@adalogics.com>
This commit is contained in:
AdamKorcz 2023-09-04 19:50:15 +01:00 committed by GitHub
parent b68ef18c96
commit bcb88bd4f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -190,7 +190,7 @@ func CreateRuntimeErrorResult(name string, e error) CheckResult {
Version: 2,
Error: e,
Score: InconclusiveResultScore,
Reason: e.Error(), // Note: message already accessible by caller thru `Error`.
Reason: e.Error(), // Note: message already accessible by caller through `Error`.
}
}

View File

@ -352,7 +352,7 @@ func createIgnoredPermissions(workflow *actionlint.Workflow, fp string,
// Scanning tool run externally and SARIF file uploaded.
func isSARIFUploadWorkflow(workflow *actionlint.Workflow, fp string, pdata *permissionCbData) bool {
// TODO: some third party tools may upload directly thru their actions.
// TODO: some third party tools may upload directly through their actions.
// Very unlikely.
// See https://github.com/marketplace for tools.
return isAllowedWorkflow(workflow, fp, pdata)

View File

@ -81,7 +81,7 @@ func SAST(c *checker.CheckRequest) checker.CheckResult {
// We assume the CodeQl config uses a cron and is not enabled as pre-submit.
// TODO: verify the above comment in code.
// We encourage developers to have sast check run on every pre-submit rather
// than as cron jobs thru the score computation below.
// than as cron jobs through the score computation below.
// Warning: there is a hidden assumption that *any* sast tool is equally good.
if sastScore != checker.InconclusiveResultScore &&
codeQlScore != checker.InconclusiveResultScore {

View File

@ -28,7 +28,7 @@ type toolMatcher interface {
}
// ToolsRun runs the probe for a tool.
// The function iterates thru the raw results and searches for a tool of interest that is used on a repository.
// The function iterates through the raw results and searches for a tool of interest that is used on a repository.
// The function uses 'matcher' to identify the tool of interest.
// If a tool is used in the repository, it creates a finding with the 'foundOutcome'.
// If not, it returns a finding with outcome 'notFoundOutcome'.