Fix analysis and style formatting errors #31
7
.github/workflows/checks.yml
vendored
7
.github/workflows/checks.yml
vendored
@ -39,9 +39,10 @@ jobs:
|
||||
- name: Print dotnet format version
|
||||
run: dotnet format --version
|
||||
|
||||
- name: Run dotnet format whitespace
|
||||
run: |
|
||||
dotnet format whitespace --verify-no-changes --report ./whitespace-report.json -v d
|
||||
# Pause for now. Fix errors with style and analyzers first
|
||||
#- name: Run dotnet format whitespace
|
||||
# run: |
|
||||
# dotnet format whitespace --verify-no-changes --report ./whitespace-report.json -v d
|
||||
|
||||
# For some unknown reason this step sometimes fails with exit code 139 (segfault?),
|
||||
# so in that case we'll try again (3 tries max).
|
||||
|
@ -98,11 +98,14 @@ namespace Ryujinx.UI.Common.Helper
|
||||
if (baseApplicationExtension is not (".nro" or ".nso"))
|
||||
return IsFirmwareValid(contentManager, out error);
|
||||
|
||||
error = UserError.Success;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
error = UserError.ApplicationNotFound;
|
||||
|
||||
return error is UserError.Success;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user