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
fb9ff929
Unverified
Commit
fb9ff929
authored
Jul 11, 2019
by
Jonah Williams
Committed by
GitHub
Jul 11, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix linesplitter (#36006)
parent
8d81c30a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
run_command.dart
dev/bots/run_command.dart
+1
-0
test.dart
dev/bots/test.dart
+1
-0
No files found.
dev/bots/run_command.dart
View file @
fb9ff929
...
@@ -108,6 +108,7 @@ Future<void> runCommand(String executable, List<String> arguments, {
...
@@ -108,6 +108,7 @@ Future<void> runCommand(String executable, List<String> arguments, {
.
transform
<
String
>(
const
Utf8Decoder
())
.
transform
<
String
>(
const
Utf8Decoder
())
.
transform
(
const
LineSplitter
())
.
transform
(
const
LineSplitter
())
.
where
((
String
line
)
=>
removeLine
==
null
||
!
removeLine
(
line
))
.
where
((
String
line
)
=>
removeLine
==
null
||
!
removeLine
(
line
))
.
map
((
String
line
)
=>
'
$line
\n
'
)
.
transform
(
const
Utf8Encoder
());
.
transform
(
const
Utf8Encoder
());
if
(
printOutput
)
{
if
(
printOutput
)
{
await
Future
.
wait
<
void
>(<
Future
<
void
>>[
await
Future
.
wait
<
void
>(<
Future
<
void
>>[
...
...
dev/bots/test.dart
View file @
fb9ff929
...
@@ -554,6 +554,7 @@ Future<void> _buildRunnerTest(
...
@@ -554,6 +554,7 @@ Future<void> _buildRunnerTest(
args
,
args
,
workingDirectory:
workingDirectory
,
workingDirectory:
workingDirectory
,
environment:
pubEnvironment
,
environment:
pubEnvironment
,
removeLine:
(
String
line
)
=>
line
.
contains
(
'[INFO]'
)
);
);
}
}
}
}
...
...
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