Skip to content

Commit

Permalink
fix: Revert slices package from stdlib (#210)
Browse files Browse the repository at this point in the history
* fix: Revert slices package to non-stdlib

* imports nit
  • Loading branch information
jimbishopp authored Jan 5, 2024
1 parent ae09746 commit cc43ad4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bot/internal/bot/bot.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ package bot

import (
"context"
"slices"
"strings"

"github.com/gravitational/trace"
"golang.org/x/exp/slices"

"github.com/gravitational/shared-workflows/bot/internal/env"
"github.com/gravitational/shared-workflows/bot/internal/github"
Expand Down
5 changes: 3 additions & 2 deletions bot/internal/review/review_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,14 @@ limitations under the License.
package review

import (
"slices"
"sort"
"testing"

"github.com/stretchr/testify/require"
"golang.org/x/exp/slices"

"github.com/gravitational/shared-workflows/bot/internal/env"
"github.com/gravitational/shared-workflows/bot/internal/github"
"github.com/stretchr/testify/require"
)

// TestIsInternal checks if docs and code reviewers show up as internal.
Expand Down

0 comments on commit cc43ad4

Please sign in to comment.