File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -3,9 +3,10 @@ package generator
3
3
import (
4
4
"errors"
5
5
"fmt"
6
+ "maps"
7
+ "slices"
6
8
"sync"
7
9
8
- "github.com/samber/lo"
9
10
"github.com/wailsapp/wails/v3/internal/generator/config"
10
11
)
11
12
@@ -118,7 +119,7 @@ func (report *ErrorReport) Errors() []string {
118
119
report .mu .Lock ()
119
120
defer report .mu .Unlock ()
120
121
121
- return lo . Keys (report .errors )
122
+ return slices . Collect ( maps . Keys (report .errors ) )
122
123
}
123
124
124
125
// Warnings returns the list of warning messages
@@ -128,7 +129,7 @@ func (report *ErrorReport) Warnings() []string {
128
129
report .mu .Lock ()
129
130
defer report .mu .Unlock ()
130
131
131
- return lo . Keys (report .warnings )
132
+ return slices . Collect ( maps . Keys (report .warnings ) )
132
133
}
133
134
134
135
// Errorf formats an error message and adds it to the report.
You can’t perform that action at this time.
0 commit comments