summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmd/check/command/command.go1
-rw-r--r--internal/executable/executable.go8
2 files changed, 4 insertions, 5 deletions
diff --git a/cmd/check/command/command.go b/cmd/check/command/command.go
index e72f792..f260681 100644
--- a/cmd/check/command/command.go
+++ b/cmd/check/command/command.go
@@ -8,7 +8,6 @@ import (
"gitlab.com/gitlab-org/gitlab-shell/internal/config"
)
-
func New(config *config.Config, readWriter *readwriter.ReadWriter) (command.Command, error) {
if cmd := build(config, readWriter); cmd != nil {
return cmd, nil
diff --git a/internal/executable/executable.go b/internal/executable/executable.go
index 108c3ea..c6355b9 100644
--- a/internal/executable/executable.go
+++ b/internal/executable/executable.go
@@ -14,8 +14,8 @@ const (
)
type Executable struct {
- Name string
- RootDir string
+ Name string
+ RootDir string
}
var (
@@ -35,8 +35,8 @@ func New(name string) (*Executable, error) {
}
executable := &Executable{
- Name: name,
- RootDir: rootDir,
+ Name: name,
+ RootDir: rootDir,
}
return executable, nil