refactor(shellquote): replace go-shellquote with custom shell quoting implementation

This commit is contained in:
Deluan
2026-03-14 09:59:52 -04:00
parent 8939f31d55
commit ba3974ee59
4 changed files with 317 additions and 2 deletions
+1 -1
View File
@@ -10,9 +10,9 @@ import (
"strings"
"sync"
"github.com/kballard/go-shellquote"
"github.com/navidrome/navidrome/conf"
"github.com/navidrome/navidrome/log"
"github.com/navidrome/navidrome/utils/shellquote"
)
func start(ctx context.Context, args []string) (Executor, error) {
+1 -1
View File
@@ -188,7 +188,7 @@ var _ = Describe("MPV", func() {
It("returns empty slice for empty template", func() {
args := createMPVCommand("auto", "/music/test.mp3", "/tmp/socket")
Expect(args).To(Equal([]string{}))
Expect(args).To(BeEmpty())
})
})
})