mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-06 21:19:06 -04:00
refactor: change naming of local variable to reflect intent
This commit is contained in:
parent
5f7fdf4bd3
commit
9686d93935
3 changed files with 13 additions and 13 deletions
|
@ -7,9 +7,9 @@ class Features {
|
|||
var result = <GitFeature>[];
|
||||
final featuresInt = libgit2.git_libgit2_features();
|
||||
|
||||
for (var flag in GitFeature.values) {
|
||||
if (featuresInt & flag.value == flag.value) {
|
||||
result.add(flag);
|
||||
for (var feature in GitFeature.values) {
|
||||
if (featuresInt & feature.value == feature.value) {
|
||||
result.add(feature);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue