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
6635f1cf
Commit
6635f1cf
authored
May 11, 2016
by
Devon Carew
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
re-enable --checked (#3857)
parent
82dbd43e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
run.dart
packages/flutter_tools/lib/src/commands/run.dart
+8
-4
No files found.
packages/flutter_tools/lib/src/commands/run.dart
View file @
6635f1cf
...
...
@@ -23,9 +23,12 @@ abstract class RunCommandBase extends FlutterCommand {
RunCommandBase
()
{
addBuildModeFlags
();
// TODO(devoncarew): This flag is ignored, and should be removed once tools
// no longer pass in `--checked`.
argParser
.
addFlag
(
'checked'
,
negatable:
true
,
hide:
true
);
// TODO(devoncarew): Remove in favor of --debug/--profile/--release.
argParser
.
addFlag
(
'checked'
,
negatable:
true
,
defaultsTo:
true
,
help:
'Run the application in checked ("slow") mode.
\n
'
'Note: this flag will be removed in favor of the --debug/--profile/--release flags.'
);
argParser
.
addFlag
(
'trace-startup'
,
negatable:
true
,
...
...
@@ -105,7 +108,8 @@ class RunCommand extends RunCommandBase {
options
=
new
DebuggingOptions
.
disabled
();
}
else
{
options
=
new
DebuggingOptions
.
enabled
(
checked:
getBuildMode
()
==
BuildMode
.
debug
,
// TODO(devoncarew): Check this to 'getBuildMode() == BuildMode.debug'.
checked:
argResults
[
'checked'
],
startPaused:
argResults
[
'start-paused'
],
observatoryPort:
debugPort
);
...
...
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