mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-13 16:43:58 -07:00
Enable all analyzers and enforce code style on build
Fixes #3406 Fixes #3407 Fixes #3408 Fixes #3409 Fixes #3410 Fixes #3411 Fixes #3412 Fixes #3413 Fixes #3414 Fixes #3415 Fixes #3416 Fixes #3417 Fixes #3418 Fixes #3419 Fixes #3420 Fixes #3421 Fixes #3422 Fixes #3423
This commit is contained in:
parent
7ac0e43c29
commit
1bc0b5f950
79 changed files with 155 additions and 162 deletions
|
@ -93,7 +93,7 @@ namespace Lidarr.Api.V1.System.Backup
|
|||
throw new BadRequestException("file must be provided");
|
||||
}
|
||||
|
||||
var file = files.First();
|
||||
var file = files[0];
|
||||
var extension = Path.GetExtension(file.FileName);
|
||||
|
||||
if (!ValidExtensions.Contains(extension))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue