chore(integration): fix typo of folder name

This commit is contained in:
verse91
2026-04-09 16:09:38 +07:00
parent aab3c6be2e
commit 1a4a9079a3
3 changed files with 5 additions and 5 deletions
@@ -1,4 +1,4 @@
package intergration package integration
import ( import (
"bufio" "bufio"
@@ -1,4 +1,4 @@
package intergration package integration
import ( import (
"fmt" "fmt"
+3 -3
View File
@@ -16,7 +16,7 @@ import (
"github.com/spf13/cobra" "github.com/spf13/cobra"
_ "github.com/versenilvis/iris/commands" _ "github.com/versenilvis/iris/commands"
"github.com/versenilvis/iris/commands/core" "github.com/versenilvis/iris/commands/core"
"github.com/versenilvis/iris/intergration" "github.com/versenilvis/iris/integration"
"golang.org/x/term" "golang.org/x/term"
) )
@@ -74,7 +74,7 @@ func runWrapper() {
} }
defer func() { _ = term.Restore(int(os.Stdin.Fd()), oldState) }() defer func() { _ = term.Restore(int(os.Stdin.Fd()), oldState) }()
overlay := intergration.NewOverlay() overlay := integration.NewOverlay()
// PTY -> Stdout // PTY -> Stdout
go func() { go func() {
@@ -260,7 +260,7 @@ func mergeResults(query string, mode string) []core.Suggestion {
} }
if mode == "history" { if mode == "history" {
histResults, _ := intergration.SearchHistory(query) histResults, _ := integration.SearchHistory(query)
cmdResults := []core.Suggestion{} cmdResults := []core.Suggestion{}
for _, h := range histResults { for _, h := range histResults {
cmdResults = append(cmdResults, core.Suggestion{ cmdResults = append(cmdResults, core.Suggestion{