Add support for IP-based bans (#1703)
* Add support for IP-based bans. Closes #1534 * Linter cleanup
This commit is contained in:
@@ -4,7 +4,8 @@ import "os"
|
||||
|
||||
// WritePlaylist writes the playlist to disk.
|
||||
func WritePlaylist(data string, filePath string) error {
|
||||
f, err := os.Create(filePath) //nolint:gosec
|
||||
// nolint:gosec
|
||||
f, err := os.Create(filePath)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user