Skip to content

Commit 1e75e4b

Browse files
fromagging
1 parent ede3698 commit 1e75e4b

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

cmd/diagnostics/status.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ func runStatus(cmd *cobra.Command, args []string) error {
4545
cfg := ctx.Config
4646
mgr := ctx.Manager
4747
env := ctx.Environment
48-
48+
4949
// Fallback: Load environment if not already in context (e.g., in tests)
5050
if env == nil {
5151
env, _ = utils.LoadEnvironment(cmd.Context())

cmd/shims/sh-rehash.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ func runShRehash(cmd *cobra.Command, args []string) error {
3939
cfg := ctx.Config
4040
mgr := ctx.Manager
4141
env := ctx.Environment
42-
42+
4343
// Fallback: Load environment if not already in context (e.g., in tests)
4444
if env == nil {
4545
env, _ = utils.LoadEnvironment(cmd.Context())

internal/resolver/resolver.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ func (r *Resolver) FindVersionsWithBinary(command string, allVersions []string)
7979
var versionsWithCommand []string
8080
for _, version := range allVersions {
8181
dirs := []string{r.config.VersionBinDir(version)}
82-
82+
8383
if !gopathDisabled {
8484
dirs = append(dirs, r.config.VersionGopathBin(version))
8585
}
@@ -139,7 +139,7 @@ func CollectBinaries(dirs []string) (map[string]bool, error) {
139139
}
140140

141141
binaryName := entry.Name()
142-
142+
143143
// On Windows, strip executable extensions from binary name
144144
if utils.IsWindows() {
145145
for _, ext := range utils.WindowsExecutableExtensions() {

internal/utils/environment.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ func EnvironmentFromContextOrLoad(ctx context.Context) *GoenvEnvironment {
298298
if env := EnvironmentFromContext(ctx); env != nil {
299299
return env
300300
}
301-
301+
302302
// Fallback: load from environment variables
303303
if ctx == nil {
304304
ctx = context.Background()

0 commit comments

Comments
 (0)