Skip to content

Commit

Permalink
📖 Change thru to through (#3449)
Browse files Browse the repository at this point in the history
Signed-off-by: AdamKorcz <adam@adalogics.com>
  • Loading branch information
AdamKorcz committed Sep 4, 2023
1 parent b68ef18 commit bcb88bd
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion checker/check_result.go
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
}
}

Expand Down
2 changes: 1 addition & 1 deletion checks/raw/permissions.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion checks/sast.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion probes/internal/utils/tools/tools.go
Original file line number Diff line number Diff line change
Expand Up @@ -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'.
Expand Down

0 comments on commit bcb88bd

Please sign in to comment.