Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
igorlombacx committed Oct 11, 2023
1 parent 6a49afb commit 5561948
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions internal/wrappers/azure-http.go
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
package wrappers

import (
b64 "encoding/base64"
"encoding/json"
"fmt"
"github.com/checkmarx/ast-cli/internal/wrappers/utils"
"io"
"net/http"
"reflect"
"time"

b64 "encoding/base64"

"github.com/checkmarx/ast-cli/internal/logger"
"github.com/checkmarx/ast-cli/internal/params"
"github.com/checkmarx/ast-cli/internal/wrappers/utils"
"github.com/pkg/errors"
"github.com/spf13/viper"
)
Expand Down Expand Up @@ -112,7 +111,6 @@ func (g *AzureHTTPWrapper) get(
queryParams map[string]string,
authFormat string,
) (bool, error) {

resp, err := GetWithQueryParams(g.client, url, token, authFormat, queryParams)
if err != nil {
return false, err
Expand Down
2 changes: 1 addition & 1 deletion internal/wrappers/bfl-http.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ package wrappers
import (
"encoding/json"
"fmt"
"github.com/checkmarx/ast-cli/internal/wrappers/utils"
"log"
"net/http"

commonParams "github.com/checkmarx/ast-cli/internal/params"
"github.com/checkmarx/ast-cli/internal/wrappers/utils"
"github.com/pkg/errors"
"github.com/spf13/viper"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/wrappers/github-http.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ package wrappers
import (
"encoding/json"
"fmt"
"github.com/checkmarx/ast-cli/internal/wrappers/utils"
"io"
"net/http"
"strings"

"github.com/checkmarx/ast-cli/internal/logger"
"github.com/checkmarx/ast-cli/internal/params"
"github.com/checkmarx/ast-cli/internal/wrappers/utils"
"github.com/pkg/errors"
"github.com/spf13/viper"
"github.com/tomnomnom/linkheader"
Expand Down

0 comments on commit 5561948

Please sign in to comment.