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
07e24f6d
Unverified
Commit
07e24f6d
authored
Jun 30, 2020
by
Chris Yang
Committed by
GitHub
Jun 30, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[flutter_tool] fix ide-config crash because of no android key (#60617)
parent
c639c93f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
ide_config.dart
packages/flutter_tools/lib/src/commands/ide_config.dart
+1
-0
ide_config_test.dart
...r_tools/test/commands.shard/hermetic/ide_config_test.dart
+1
-0
No files found.
packages/flutter_tools/lib/src/commands/ide_config.dart
View file @
07e24f6d
...
...
@@ -236,6 +236,7 @@ class IdeConfigCommand extends FlutterCommand {
int
generatedCount
=
0
;
generatedCount
+=
_renderTemplate
(
_ideName
,
dirPath
,
<
String
,
dynamic
>{
'withRootModule'
:
boolArg
(
'with-root-module'
),
'android'
:
true
,
});
globals
.
printStatus
(
'Wrote
$generatedCount
files.'
);
...
...
packages/flutter_tools/test/commands.shard/hermetic/ide_config_test.dart
View file @
07e24f6d
...
...
@@ -52,6 +52,7 @@ void main() {
globals
.
fs
.
path
.
join
(
basePath
,
'.idea'
,
'runConfigurations'
,
'hello_world.xml
$suffix
'
):
'hello_world
$marker
'
,
globals
.
fs
.
path
.
join
(
basePath
,
'flutter.iml
$suffix
'
):
'flutter
$marker
'
,
globals
.
fs
.
path
.
join
(
basePath
,
'packages'
,
'new'
,
'deep.iml
$suffix
'
):
'deep
$marker
'
,
globals
.
fs
.
path
.
join
(
basePath
,
'example'
,
'gallery'
,
'android.iml
$suffix
'
):
'android
$marker
'
,
};
}
...
...
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