mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-05 04:39:07 -04:00
style: no implicit casts and dynamic
This commit is contained in:
parent
7b14ee6b9b
commit
f3fbc80f8e
11 changed files with 49 additions and 36 deletions
|
@ -648,7 +648,7 @@ class Repository {
|
|||
Index revertCommit({
|
||||
required Commit revertCommit,
|
||||
required Commit ourCommit,
|
||||
mainline = 0,
|
||||
int mainline = 0,
|
||||
}) {
|
||||
return Index(commit_bindings.revertCommit(
|
||||
repoPointer: _repoPointer,
|
||||
|
@ -986,7 +986,7 @@ class Repository {
|
|||
head.free();
|
||||
ref.free();
|
||||
|
||||
return [analysisSet, mergePreference];
|
||||
return <Object>[analysisSet, mergePreference];
|
||||
}
|
||||
|
||||
/// Merges the given commit [oid] into HEAD, writing the results into the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue