Skip to content

Commit

Permalink
chore: fix linting issues #300
Browse files Browse the repository at this point in the history
  • Loading branch information
srinandan committed Sep 20, 2023
1 parent c916aae commit 1233188
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
3 changes: 2 additions & 1 deletion cmd/sharedflows/depsf.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ package sharedflows

import (
"encoding/json"
"time"

"internal/apiclient"
"internal/clilog"
"time"

"internal/client/sharedflows"

Expand Down
7 changes: 4 additions & 3 deletions internal/bundlegen/proxybundle/proxybundle.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,10 @@ import (
"golang.org/x/oauth2"
)

var proxyRootDir = "apiproxy"
var sfRootDir = "sharedflowbundle"
var (
proxyRootDir = "apiproxy"
sfRootDir = "sharedflowbundle"
)

func GenerateAPIProxyBundleFromOAS(name string,
content string,
Expand Down Expand Up @@ -692,7 +694,6 @@ func archiveBundle(pathToZip, destinationPath string, sharedflow bool) (err erro
}

func GitHubImportBundle(owner string, repo string, repopath string, sharedflow bool) (err error) {

var rootDir string

if sharedflow {
Expand Down
2 changes: 1 addition & 1 deletion internal/client/appgroups/appgroups.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ func Update(name string, channelURI string, channelID string, displayName string
developerDetailsAttribute.Value = getDeveloperDetails(devs)
}

//clear existing attributes
// clear existing attributes
a.Attributes = nil

if len(attrs) != 0 {
Expand Down

0 comments on commit 1233188

Please sign in to comment.