Skip to content

Commit 865cfdd

Browse files
committed
Address comments
1 parent 3ecf9fd commit 865cfdd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

private/buf/buflsp/file.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ import (
2323
"io"
2424
"iter"
2525
"log/slog"
26-
"maps"
2726
"slices"
2827
"strings"
2928
"time"
@@ -234,7 +233,7 @@ func (f *file) RefreshIR(ctx context.Context) {
234233
files = append(files, file)
235234
}
236235
// Remove paths that are no longer in the current workspace.
237-
for path := range maps.Keys(openerMap) {
236+
for path := range openerMap {
238237
if _, ok := pathToFiles[path]; !ok {
239238
delete(openerMap, path)
240239
}

0 commit comments

Comments
 (0)