chore(integration): fix typo of folder name
This commit is contained in:
@@ -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
@@ -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{
|
||||||
|
|||||||
Reference in New Issue
Block a user