Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
ee87f611
Unverified
Commit
ee87f611
authored
Nov 17, 2021
by
Konoshenko Vlad
Committed by
GitHub
Nov 17, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: removed unnecessary checks (#93735)
parent
c8d876c5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
android_sdk.dart
packages/flutter_tools/lib/src/android/android_sdk.dart
+1
-1
update_packages_test.dart
...lutter_tools/test/general.shard/update_packages_test.dart
+1
-1
No files found.
packages/flutter_tools/lib/src/android/android_sdk.dart
View file @
ee87f611
...
...
@@ -198,7 +198,7 @@ class AndroidSdk {
}
}
for
(
final
String
searchPath
in
searchPaths
.
whereType
<
String
>()
)
{
for
(
final
String
searchPath
in
searchPaths
)
{
if
(
globals
.
fs
.
directory
(
searchPath
).
existsSync
())
{
return
searchPath
;
}
...
...
packages/flutter_tools/test/general.shard/update_packages_test.dart
View file @
ee87f611
...
...
@@ -108,7 +108,7 @@ void main() {
// Create already parsed pubspecs.
final
PubspecYaml
flutterPubspec
=
PubspecYaml
(
flutter
);
final
PubspecDependency
gitDependency
=
flutterPubspec
.
dependencies
.
whereType
<
PubspecDependency
>().
firstWhere
((
PubspecDependency
dep
)
=>
dep
.
kind
==
DependencyKind
.
git
);
final
PubspecDependency
gitDependency
=
flutterPubspec
.
dependencies
.
firstWhere
((
PubspecDependency
dep
)
=>
dep
.
kind
==
DependencyKind
.
git
);
expect
(
gitDependency
.
lockLine
,
'''
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment