mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-03 20:47:35 +03:00
New implementation of NowPlaying
This commit is contained in:
parent
0df0ac0715
commit
f8ee6db72a
14 changed files with 233 additions and 203 deletions
|
@ -12,7 +12,7 @@
|
|||
|
||||
gofmtcmd="go run golang.org/x/tools/cmd/goimports"
|
||||
|
||||
gofiles=$(git diff --cached --name-only --diff-filter=ACM | grep '.go$')
|
||||
gofiles=$(git diff --cached --name-only --diff-filter=ACM | grep '.go$' | grep -v '_gen.go$')
|
||||
[ -z "$gofiles" ] && exit 0
|
||||
|
||||
unformatted=$($gofmtcmd -l $gofiles)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue