Skip to content

Commit

Permalink
style: reformat code
Browse files Browse the repository at this point in the history
  • Loading branch information
iseki0 committed Jul 25, 2024
1 parent d93f48f commit d4b647b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions chunkupload/upload_dir.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"bytes"
"context"
"fmt"
"path/filepath"
"github.com/murphysecurity/murphysec/api"
"github.com/murphysecurity/murphysec/api"
"github.com/murphysecurity/murphysec/infra/logctx"
"path/filepath"
)

// UploadDirectory will pack files in the directory to tar.gz stream and upload it
Expand Down
2 changes: 1 addition & 1 deletion cmd/murphy/internal/scan/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import (
"encoding/json"
"errors"
"fmt"
"path/filepath"
"github.com/murphysecurity/murphysec/api"
"github.com/murphysecurity/murphysec/cmd/murphy/internal/common"
"github.com/murphysecurity/murphysec/cmd/murphy/internal/cv"
Expand All @@ -19,6 +18,7 @@ import (
"github.com/murphysecurity/murphysec/utils"
"github.com/murphysecurity/murphysec/utils/must"
"github.com/spf13/cobra"
"path/filepath"
)

var jsonOutput bool
Expand Down
2 changes: 1 addition & 1 deletion cmd/murphy/internal/scan/scan.go
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ func scan(ctx context.Context, dir string, accessType model.AccessType, mode mod
}
}

// start check
// start check
e = api.StartCheck(api.DefaultClient(), task)
if e != nil {
cv.DisplayStartCheckErr(ctx, e)
Expand Down

0 comments on commit d4b647b

Please sign in to comment.