mirror of
https://gitea.com/gitea/runner.git
synced 2026-11-08 08:10:30 +00:00
skip unsupported platforms
Signed-off-by: Casey Lee <[email protected]>
This commit is contained in:
6 files changed
+23
-14
No files matched your search
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user