runner/setup.go
Function SetupRunner
has 191 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func SetupRunner(
cfg *config.Config,
appOptions *options.AppOptions,
runOptions *options.RunOptions,
) (runner *Runner, err error) {
Function SetupRunner
has 11 return statements (exceeds 4 allowed). Open
Open
func SetupRunner(
cfg *config.Config,
appOptions *options.AppOptions,
runOptions *options.RunOptions,
) (runner *Runner, err error) {
Function setupRegistries
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
ctx context.Context,
cfg *config.Config,
cleanup *Cleanup,
logger logging.Logger,
env []string,
Function setupLogger
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
cleanup *Cleanup,
scratch *scratch.ScratchSpace,
quiet bool,
verbose bool,
colorize bool,
Function setupScratch
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
runID string,
projectDir string,
scratchRoot string,
cleanup *Cleanup,
keepWorkspace bool,
Function reportError
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
ctx context.Context,
logger logging.Logger,
prefix *logging.Prefix,
format string,
args ...interface{},
exported function SetupRunner should have comment or be unexported Open
Open
func SetupRunner(
- Exclude checks