mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-05 12:49:08 -04:00
style: stricter linting
This commit is contained in:
parent
d0f7746a01
commit
2eb50dec69
12 changed files with 47 additions and 27 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue