Skip to content

Commit 1145b9b

Browse files
nodeselectorCopilot
andcommitted
style(lockfile): gofmt convertor, tracker, and state files
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 667945e commit 1145b9b

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

internal/lockfile/convertor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ package lockfile
55
import (
66
"fmt"
77

8-
"github.com/github/gh-actions-pin/internal/dep"
98
parserlock "github.com/github/actions-lockfile/go/pkg/lockfile"
9+
"github.com/github/gh-actions-pin/internal/dep"
1010
)
1111

1212
// depToPin converts a dep.Dependency into a parserlock.Pin without any

internal/lockfile/direct_tracker.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package lockfile
22

33
import (
4-
"github.com/github/gh-actions-pin/internal/dep"
54
parserlock "github.com/github/actions-lockfile/go/pkg/lockfile"
5+
"github.com/github/gh-actions-pin/internal/dep"
66
)
77

88
// DirectTracker captures, by dep index, which resolved deps correspond to a

internal/lockfile/state.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import (
1010
"strings"
1111
"sync"
1212

13-
"github.com/github/gh-actions-pin/internal/dep"
1413
parserlock "github.com/github/actions-lockfile/go/pkg/lockfile"
14+
"github.com/github/gh-actions-pin/internal/dep"
1515
"golang.org/x/sync/singleflight"
1616
)
1717

internal/lockfile/state_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ import (
88
"strings"
99
"testing"
1010

11+
parserlock "github.com/github/actions-lockfile/go/pkg/lockfile"
1112
"github.com/github/gh-actions-pin/internal/dep"
1213
"github.com/github/gh-actions-pin/internal/workflowfile"
13-
parserlock "github.com/github/actions-lockfile/go/pkg/lockfile"
1414
)
1515

1616
type fakeMetadataResolver struct{}

0 commit comments

Comments
 (0)