style: stricter linting

This commit is contained in:
Aleksey Kulikov 2022-02-23 11:05:14 +03:00
parent d0f7746a01
commit 2eb50dec69
12 changed files with 47 additions and 27 deletions

View file

@ -249,7 +249,7 @@ Pointer<git_reference> createDirect({
if (error < 0) {
calloc.free(out);
throw (LibGit2Error(libgit2.git_error_last()));
throw LibGit2Error(libgit2.git_error_last());
} else {
return out.value;
}
@ -309,7 +309,7 @@ Pointer<git_reference> createSymbolic({
if (error < 0) {
calloc.free(out);
throw (LibGit2Error(libgit2.git_error_last()));
throw LibGit2Error(libgit2.git_error_last());
} else {
return out.value;
}