Skip to content

Commit 03cb3fa

Browse files
committed
2025.1.0 release code merge
1 parent 9b612a8 commit 03cb3fa

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ _____________________________________________________________________________
1010

1111
BSD 3-Clause "New" or "Revised" License
1212

13-
Copyright (C) Intel Corporation. All rights reserved.
13+
Copyright (C) 2019, Intel Corporation. All rights reserved.
1414

1515

1616
Redistribution and use in source and binary forms, with or without modification,

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/intel/oneapi-cli
22

3-
go 1.20
3+
go 1.24.1
44

55
require (
66
github.com/gdamore/tcell v1.4.0

pkg/ui/cli.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ func (cli *CLI) selectLang() {
126126
continue
127127
}
128128
list.AddItem(k, "", start, func() {
129-
i := list.GetCurrentItem() //List doesnt support a reference
130-
cli.selectProject(cli.aggregator.GetLanguages()[i])
129+
lang, _ := list.GetItemText(list.GetCurrentItem())
130+
cli.selectProject(lang)
131131
})
132132
start++
133133
}

0 commit comments

Comments
 (0)