mirror of
https://github.com/go-task/task.git
synced 2026-08-29 10:08:27 +02:00
feat: enable remote taskfiles (#2906)
This commit is contained in:
@@ -8,8 +8,6 @@ import (
|
||||
|
||||
giturls "github.com/chainguard-dev/git-urls"
|
||||
|
||||
"github.com/go-task/task/v3/errors"
|
||||
"github.com/go-task/task/v3/experiments"
|
||||
"github.com/go-task/task/v3/internal/fsext"
|
||||
)
|
||||
|
||||
@@ -67,9 +65,6 @@ func NewNode(
|
||||
default:
|
||||
node, err = NewFileNode(entrypoint, dir, opts...)
|
||||
}
|
||||
if _, isRemote := node.(RemoteNode); isRemote && !experiments.RemoteTaskfiles.Enabled() {
|
||||
return nil, errors.New("task: Remote taskfiles are not enabled. You can read more about this experiment and how to enable it at https://taskfile.dev/experiments/remote-taskfiles")
|
||||
}
|
||||
|
||||
return node, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user