aboutsummaryrefslogtreecommitdiff
path: root/runner_builder.go
diff options
context:
space:
mode:
authorFlu0r1ne <flur01ne@flu0r1ne.net>2021-09-04 13:41:52 -0500
committerFlu0r1ne <flur01ne@flu0r1ne.net>2021-09-04 13:41:52 -0500
commitb3252d2bd488b5b58cf0e46151ff9db0721c5fc6 (patch)
treef79fa92b882a5c74d2581a57055ecee815103f83 /runner_builder.go
parent8c803d453201c8b85172d984fc1aee9eb5af2173 (diff)
downloadplanr-b3252d2bd488b5b58cf0e46151ff9db0721c5fc6.tar.xz
planr-b3252d2bd488b5b58cf0e46151ff9db0721c5fc6.zip
Add runner initalization
Diffstat (limited to 'runner_builder.go')
-rw-r--r--runner_builder.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/runner_builder.go b/runner_builder.go
index 848d09b..b369635 100644
--- a/runner_builder.go
+++ b/runner_builder.go
@@ -35,8 +35,5 @@ func SetSrcDir(b RunnerBuilder, dir string) RunnerBuilder {
}
func (b RunnerBuilder) New() Runner {
- return Runner {
- dirs: b.dirs,
- adapters: b.adapters,
- }
+ return NewRunner(b.adapters, b.dirs)
}