Skip to content

Commit 56df825

Browse files
AdamKorczashearin
authored andcommitted
📖 Change thru to through (ossf#3449)
Signed-off-by: AdamKorcz <[email protected]> Signed-off-by: Allen Shearin <[email protected]>
1 parent f4606c6 commit 56df825

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

checker/check_result.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ func CreateRuntimeErrorResult(name string, e error) CheckResult {
190190
Version: 2,
191191
Error: e,
192192
Score: InconclusiveResultScore,
193-
Reason: e.Error(), // Note: message already accessible by caller thru `Error`.
193+
Reason: e.Error(), // Note: message already accessible by caller through `Error`.
194194
}
195195
}
196196

checks/raw/permissions.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ func createIgnoredPermissions(workflow *actionlint.Workflow, fp string,
352352

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

checks/sast.go

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

probes/internal/utils/tools/tools.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ type toolMatcher interface {
2828
}
2929

3030
// ToolsRun runs the probe for a tool.
31-
// The function iterates thru the raw results and searches for a tool of interest that is used on a repository.
31+
// The function iterates through the raw results and searches for a tool of interest that is used on a repository.
3232
// The function uses 'matcher' to identify the tool of interest.
3333
// If a tool is used in the repository, it creates a finding with the 'foundOutcome'.
3434
// If not, it returns a finding with outcome 'notFoundOutcome'.

0 commit comments

Comments
 (0)