Simplify Go installation and support standard OpenCode releases
This commit is contained in:
@@ -18,6 +18,7 @@ func TestCompiledCommandFindsManifestThroughSystemLink(t *testing.T) {
|
||||
os.WriteFile(filepath.Join(root, "pipelines-install.json"), data, 0600)
|
||||
link := filepath.Join(t.TempDir(), "pipelines")
|
||||
os.Symlink(binary, link)
|
||||
t.Setenv("PIPELINES_PREFIX", root)
|
||||
loaded, err := Load(link)
|
||||
if err != nil || loaded == nil || loaded.Prefix != root {
|
||||
t.Fatal(loaded, err)
|
||||
|
||||
Reference in New Issue
Block a user