Skip to content

Commit 6c530b5

Browse files
removed unnecessary space
1 parent e6d3833 commit 6c530b5

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

internal/commands/scan_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,6 @@ func TestCreateScanWithPrimaryBranchFlagStringValue_Should_Fail(t *testing.T) {
624624
assert.ErrorContains(t, err, "invalid argument \"string\"", err.Error())
625625

626626
}
627-
628627
func Test_parseThresholdSuccess(t *testing.T) {
629628
want := make(map[string]int)
630629
want["iac-security-low"] = 1

internal/services/projects.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ func updateProject(project *wrappers.ProjectResponseModel,
199199
projectID = project.ID
200200
if isBranchPrimary {
201201
projModel.MainBranch = branchName
202-
logger.PrintfIfVerbose(fmt.Sprintf("Updating the branch as primary: %s", branchName))
202+
logger.PrintfIfVerbose("Updating the branch as primary: %s", branchName)
203203
} else {
204204
projModel.MainBranch = project.MainBranch
205205
}

0 commit comments

Comments
 (0)