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
68ba5bfd
Commit
68ba5bfd
authored
Jun 07, 2016
by
Chinmay Garde
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Suppress verbose output from ios-deploy when not in verbose mode. (#4423)
parent
0783f9d6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
process.dart
packages/flutter_tools/lib/src/base/process.dart
+8
-2
devices.dart
packages/flutter_tools/lib/src/ios/devices.dart
+1
-1
No files found.
packages/flutter_tools/lib/src/base/process.dart
View file @
68ba5bfd
...
@@ -29,6 +29,7 @@ Future<Process> runCommand(List<String> cmd, { String workingDirectory }) async
...
@@ -29,6 +29,7 @@ Future<Process> runCommand(List<String> cmd, { String workingDirectory }) async
Future
<
int
>
runCommandAndStreamOutput
(
List
<
String
>
cmd
,
{
Future
<
int
>
runCommandAndStreamOutput
(
List
<
String
>
cmd
,
{
String
workingDirectory
,
String
workingDirectory
,
String
prefix:
''
,
String
prefix:
''
,
bool
trace:
false
,
RegExp
filter
,
RegExp
filter
,
StringConverter
mapFunction
StringConverter
mapFunction
})
async
{
})
async
{
...
@@ -40,8 +41,13 @@ Future<int> runCommandAndStreamOutput(List<String> cmd, {
...
@@ -40,8 +41,13 @@ Future<int> runCommandAndStreamOutput(List<String> cmd, {
.
listen
((
String
line
)
{
.
listen
((
String
line
)
{
if
(
mapFunction
!=
null
)
if
(
mapFunction
!=
null
)
line
=
mapFunction
(
line
);
line
=
mapFunction
(
line
);
if
(
line
!=
null
)
if
(
line
!=
null
)
{
printStatus
(
'
$prefix$line
'
);
String
message
=
'
$prefix$line
'
;
if
(
trace
)
printTrace
(
message
);
else
printStatus
(
message
);
}
});
});
process
.
stderr
process
.
stderr
.
transform
(
UTF8
.
decoder
)
.
transform
(
UTF8
.
decoder
)
...
...
packages/flutter_tools/lib/src/ios/devices.dart
View file @
68ba5bfd
...
@@ -203,7 +203,7 @@ class IOSDevice extends Device {
...
@@ -203,7 +203,7 @@ class IOSDevice extends Device {
'--bundle'
,
'--bundle'
,
bundle
.
path
,
bundle
.
path
,
'--justlaunch'
,
'--justlaunch'
,
]);
]
,
trace:
true
);
if
(
installationResult
!=
0
)
{
if
(
installationResult
!=
0
)
{
printError
(
'Could not install
${bundle.path}
on
$id
.'
);
printError
(
'Could not install
${bundle.path}
on
$id
.'
);
...
...
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