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
94c7e823
Unverified
Commit
94c7e823
authored
Feb 05, 2020
by
Alexandre Ardhuin
Committed by
GitHub
Feb 05, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove unnecessary string escapes (#50096)
parent
4b8efad9
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
11 deletions
+11
-11
plugin_dependencies_test.dart
dev/devicelab/bin/tasks/plugin_dependencies_test.dart
+6
-6
running_processes.dart
dev/devicelab/lib/framework/running_processes.dart
+1
-1
fortnightly.dart
...les/flutter_gallery/lib/demo/fortnightly/fortnightly.dart
+1
-1
project.dart
packages/flutter_tools/lib/src/project.dart
+3
-3
No files found.
dev/devicelab/bin/tasks/plugin_dependencies_test.dart
View file @
94c7e823
...
@@ -183,16 +183,16 @@ public class DummyPluginAClass {
...
@@ -183,16 +183,16 @@ public class DummyPluginAClass {
const
String
kExpectedPluginsDependenciesContent
=
const
String
kExpectedPluginsDependenciesContent
=
'['
'['
'{'
'{'
'
\"
name
\"
:
\"
plugin_a
\
"
,'
'
"name":"plugin_a
",'
'
\"
dependencies
\"
:[
\"
plugin_b
\"
,
\"
plugin_c
\
"
]'
'
"dependencies":["plugin_b","plugin_c
"]'
'},'
'},'
'{'
'{'
'
\"
name
\"
:
\"
plugin_b
\
"
,'
'
"name":"plugin_b
",'
'
\"
dependencies
\
"
:[]'
'
"dependencies
":[]'
'},'
'},'
'{'
'{'
'
\"
name
\"
:
\"
plugin_c
\
"
,'
'
"name":"plugin_c
",'
'
\"
dependencies
\
"
:[]'
'
"dependencies
":[]'
'}'
'}'
']'
;
']'
;
final
String
graphString
=
json
.
encode
(
dependencyGraph
);
final
String
graphString
=
json
.
encode
(
dependencyGraph
);
...
...
dev/devicelab/lib/framework/running_processes.dart
View file @
94c7e823
...
@@ -85,7 +85,7 @@ Stream<RunningProcessInfo> windowsRunningProcesses(String processName) async* {
...
@@ -85,7 +85,7 @@ Stream<RunningProcessInfo> windowsRunningProcesses(String processName) async* {
// a process.
// a process.
// See: https://docs.microsoft.com/en-us/windows/desktop/cimwin32prov/win32-process
// See: https://docs.microsoft.com/en-us/windows/desktop/cimwin32prov/win32-process
final
String
script
=
processName
!=
null
final
String
script
=
processName
!=
null
?
'"Get-CimInstance Win32_Process -Filter
\\
\"
name=
\'
$processName
\'\
\\"
| Select-Object ProcessId,CreationDate,CommandLine | Format-Table -AutoSize | Out-String -Width 4096"'
?
'"Get-CimInstance Win32_Process -Filter
\\
"name=
\'
$processName
\'
\\
" | Select-Object ProcessId,CreationDate,CommandLine | Format-Table -AutoSize | Out-String -Width 4096"'
:
'"Get-CimInstance Win32_Process | Select-Object ProcessId,CreationDate,CommandLine | Format-Table -AutoSize | Out-String -Width 4096"'
;
:
'"Get-CimInstance Win32_Process | Select-Object ProcessId,CreationDate,CommandLine | Format-Table -AutoSize | Out-String -Width 4096"'
;
// Unfortunately, there doesn't seem to be a good way to get ProcessManager to
// Unfortunately, there doesn't seem to be a good way to get ProcessManager to
// run this. May be a bug in Dart.
// run this. May be a bug in Dart.
...
...
examples/flutter_gallery/lib/demo/fortnightly/fortnightly.dart
View file @
94c7e823
...
@@ -76,7 +76,7 @@ class FruitPage extends StatelessWidget {
...
@@ -76,7 +76,7 @@ class FruitPage extends StatelessWidget {
static
final
String
paragraph2
=
'''Pomegranates on the other hand have become
static
final
String
paragraph2
=
'''Pomegranates on the other hand have become
almost ubiquitous. You can find its juice in any bodega, Walmart, and even some
almost ubiquitous. You can find its juice in any bodega, Walmart, and even some
gas stations. But at what cost? The pomegranate juice craze of the aughts made
gas stations. But at what cost? The pomegranate juice craze of the aughts made
\"
megafarmers
\
"
Lynda and Stewart Resnick billions. Unfortunately, it takes a lot
"megafarmers
" Lynda and Stewart Resnick billions. Unfortunately, it takes a lot
of water to make that much pomegranate juice. Water the Resnicks get from their
of water to make that much pomegranate juice. Water the Resnicks get from their
majority stake in the Kern Water Bank. How did one family come to hold control
majority stake in the Kern Water Bank. How did one family come to hold control
over water meant for the whole central valley of California? The story will shock you.
over water meant for the whole central valley of California? The story will shock you.
...
...
packages/flutter_tools/lib/src/project.dart
View file @
94c7e823
...
@@ -602,9 +602,9 @@ class AndroidProject extends FlutterProjectPlatform {
...
@@ -602,9 +602,9 @@ class AndroidProject extends FlutterProjectPlatform {
@override
@override
String
get
pluginConfigKey
=>
AndroidPlugin
.
kConfigKey
;
String
get
pluginConfigKey
=>
AndroidPlugin
.
kConfigKey
;
static
final
RegExp
_applicationIdPattern
=
RegExp
(
'^
\\
s*applicationId
\\
s+[
\'
\"
](.*)[
\'\
"
]
\\
s*
\$
'
);
static
final
RegExp
_applicationIdPattern
=
RegExp
(
'^
\\
s*applicationId
\\
s+[
\'
"](.*)[
\'
"]
\\
s*
\$
'
);
static
final
RegExp
_kotlinPluginPattern
=
RegExp
(
'^
\\
s*apply plugin
\
:
\\
s+[
\'
\"
]kotlin-android[
\'\
"
]
\\
s*
\$
'
);
static
final
RegExp
_kotlinPluginPattern
=
RegExp
(
'^
\\
s*apply plugin
\
:
\\
s+[
\'
"]kotlin-android[
\'
"]
\\
s*
\$
'
);
static
final
RegExp
_groupPattern
=
RegExp
(
'^
\\
s*group
\\
s+[
\'
\"
](.*)[
\'\
"
]
\\
s*
\$
'
);
static
final
RegExp
_groupPattern
=
RegExp
(
'^
\\
s*group
\\
s+[
\'
"](.*)[
\'
"]
\\
s*
\$
'
);
/// The Gradle root directory of the Android host app. This is the directory
/// The Gradle root directory of the Android host app. This is the directory
/// containing the `app/` subdirectory and the `settings.gradle` file that
/// containing the `app/` subdirectory and the `settings.gradle` file that
...
...
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