skip unsupported platforms

Signed-off-by: Casey Lee <[email protected]>
This commit is contained in:
Casey Lee committed 2020-02-20 21:06:01 -05:00
1 parent 73559207c7
commit 5b7019cd0b
6 files changed
+23 -14

No files matched your search

+1 -1
View File
@@ -42,7 +42,7 @@ func NewInfoExecutor(format string, args ...interface{}) Executor {
// NewPipelineExecutor creates a new executor from a series of other executors
func NewPipelineExecutor(executors ...Executor) Executor {
if executors == nil {
if len(executors) == 0 {
return func(ctx context.Context) error {
return nil
}