mirror of
https://gitea.com/gitea/act_runner.git
synced 2026-03-20 03:46:09 +08:00
fix last error
This commit is contained in:
@@ -4,13 +4,13 @@ package runner
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"fmt"
|
"errors"
|
||||||
|
|
||||||
"gitea.com/gitea/act_runner/pkg/common"
|
"gitea.com/gitea/act_runner/pkg/common"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (rc *RunContext) startTartEnvironment() common.Executor {
|
func (rc *RunContext) startTartEnvironment() common.Executor {
|
||||||
return func(_ context.Context) error {
|
return func(_ context.Context) error {
|
||||||
return fmt.Errorf("you need macOS for tart")
|
return errors.New("you need macOS for tart")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user