Skip to content

Commit 494953f

Browse files
committed
Fix lint
1 parent b74f92e commit 494953f

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

pkg/agent/loop.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,13 @@ import (
1212
"errors"
1313
"fmt"
1414
"path/filepath"
15+
"regexp"
1516
"strings"
1617
"sync"
1718
"sync/atomic"
1819
"time"
1920
"unicode/utf8"
2021

21-
"regexp"
22-
2322
"github.com/sipeed/picoclaw/pkg/bus"
2423
"github.com/sipeed/picoclaw/pkg/channels"
2524
"github.com/sipeed/picoclaw/pkg/config"

pkg/voice/transcriber_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ func TestGroqTranscriberName(t *testing.T) {
2424

2525
func TestDetectTranscriber(t *testing.T) {
2626
tests := []struct {
27-
name string
28-
cfg *config.Config
29-
wantNil bool
30-
wantName string
27+
name string
28+
cfg *config.Config
29+
wantNil bool
30+
wantName string
3131
}{
3232
{
3333
name: "no config",

0 commit comments

Comments
 (0)