diff options
author | feistel <6742251-feistel@users.noreply.gitlab.com> | 2021-09-08 15:45:06 +0000 |
---|---|---|
committer | feistel <6742251-feistel@users.noreply.gitlab.com> | 2021-09-08 15:45:06 +0000 |
commit | 515bfeb98c87e04d36650939aa99e48f28555f85 (patch) | |
tree | 7e948e649ad19c66945bdab76fbcba11157f3b03 | |
parent | d0e09b414a9b069ec7bcbed2880b93c27cf3727c (diff) | |
download | gitlab-shell-515bfeb98c87e04d36650939aa99e48f28555f85.tar.gz |
refactor: fix style issues
-rw-r--r-- | cmd/check/command/command.go | 1 | ||||
-rw-r--r-- | internal/executable/executable.go | 8 |
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 |