[flutter_deps] Remove stray backslash from example recipe
Newer versions of the path recipe module don't allow backslashes in path strings. There are other references to a "flutter sdk" directory, so the backslash was probably a typo. Given that this is just a change to an example recipe, it should be harmless.
Original CL that introduced the type mentions space but no backslash:
https://flutter-review.googlesource.com/c/recipes/+/8360
Change-Id: I1fb3a69cfe2a1a5548a62cebc5ce9b5b1af40787
Reviewed-on: https://flutter-review.googlesource.com/c/recipes/+/59322
Reviewed-by: Christopher Fujino <fujino@google.com>
diff --git a/recipe_modules/flutter_deps/examples/full.expected/basic.json b/recipe_modules/flutter_deps/examples/full.expected/basic.json
index 444cd38..67e5711 100644
--- a/recipe_modules/flutter_deps/examples/full.expected/basic.json
+++ b/recipe_modules/flutter_deps/examples/full.expected/basic.json
@@ -924,13 +924,13 @@
"rev-parse",
"HEAD"
],
- "cwd": "[START_DIR]/flutter\\ sdk",
+ "cwd": "[START_DIR]/flutter sdk",
"infra_step": true,
"name": "git rev-parse"
},
{
"cmd": [
- "[START_DIR]/flutter\\ sdk/bin/flutter",
+ "[START_DIR]/flutter sdk/bin/flutter",
"config",
"--clear-features"
],
diff --git a/recipe_modules/flutter_deps/examples/full.expected/goldTryjob.json b/recipe_modules/flutter_deps/examples/full.expected/goldTryjob.json
index 444cd38..67e5711 100644
--- a/recipe_modules/flutter_deps/examples/full.expected/goldTryjob.json
+++ b/recipe_modules/flutter_deps/examples/full.expected/goldTryjob.json
@@ -924,13 +924,13 @@
"rev-parse",
"HEAD"
],
- "cwd": "[START_DIR]/flutter\\ sdk",
+ "cwd": "[START_DIR]/flutter sdk",
"infra_step": true,
"name": "git rev-parse"
},
{
"cmd": [
- "[START_DIR]/flutter\\ sdk/bin/flutter",
+ "[START_DIR]/flutter sdk/bin/flutter",
"config",
"--clear-features"
],
diff --git a/recipe_modules/flutter_deps/examples/full.expected/linux.json b/recipe_modules/flutter_deps/examples/full.expected/linux.json
index 444cd38..67e5711 100644
--- a/recipe_modules/flutter_deps/examples/full.expected/linux.json
+++ b/recipe_modules/flutter_deps/examples/full.expected/linux.json
@@ -924,13 +924,13 @@
"rev-parse",
"HEAD"
],
- "cwd": "[START_DIR]/flutter\\ sdk",
+ "cwd": "[START_DIR]/flutter sdk",
"infra_step": true,
"name": "git rev-parse"
},
{
"cmd": [
- "[START_DIR]/flutter\\ sdk/bin/flutter",
+ "[START_DIR]/flutter sdk/bin/flutter",
"config",
"--clear-features"
],
diff --git a/recipe_modules/flutter_deps/examples/full.expected/local_engine_cas.json b/recipe_modules/flutter_deps/examples/full.expected/local_engine_cas.json
index 85ae5d4..17029f1 100644
--- a/recipe_modules/flutter_deps/examples/full.expected/local_engine_cas.json
+++ b/recipe_modules/flutter_deps/examples/full.expected/local_engine_cas.json
@@ -1008,13 +1008,13 @@
"rev-parse",
"HEAD"
],
- "cwd": "[START_DIR]/flutter\\ sdk",
+ "cwd": "[START_DIR]/flutter sdk",
"infra_step": true,
"name": "git rev-parse"
},
{
"cmd": [
- "[START_DIR]/flutter\\ sdk/bin/flutter",
+ "[START_DIR]/flutter sdk/bin/flutter",
"config",
"--clear-features"
],
diff --git a/recipe_modules/flutter_deps/examples/full.expected/local_web_sdk_cas.json b/recipe_modules/flutter_deps/examples/full.expected/local_web_sdk_cas.json
index 094a7b6..6e5fda4 100644
--- a/recipe_modules/flutter_deps/examples/full.expected/local_web_sdk_cas.json
+++ b/recipe_modules/flutter_deps/examples/full.expected/local_web_sdk_cas.json
@@ -1008,13 +1008,13 @@
"rev-parse",
"HEAD"
],
- "cwd": "[START_DIR]/flutter\\ sdk",
+ "cwd": "[START_DIR]/flutter sdk",
"infra_step": true,
"name": "git rev-parse"
},
{
"cmd": [
- "[START_DIR]/flutter\\ sdk/bin/flutter",
+ "[START_DIR]/flutter sdk/bin/flutter",
"config",
"--clear-features"
],
diff --git a/recipe_modules/flutter_deps/examples/full.expected/mac.json b/recipe_modules/flutter_deps/examples/full.expected/mac.json
index 2771c2e..826aca3 100644
--- a/recipe_modules/flutter_deps/examples/full.expected/mac.json
+++ b/recipe_modules/flutter_deps/examples/full.expected/mac.json
@@ -1883,13 +1883,13 @@
"rev-parse",
"HEAD"
],
- "cwd": "[START_DIR]/flutter\\ sdk",
+ "cwd": "[START_DIR]/flutter sdk",
"infra_step": true,
"name": "git rev-parse"
},
{
"cmd": [
- "[START_DIR]/flutter\\ sdk/bin/flutter",
+ "[START_DIR]/flutter sdk/bin/flutter",
"config",
"--clear-features"
],
diff --git a/recipe_modules/flutter_deps/examples/full.expected/mac_old.json b/recipe_modules/flutter_deps/examples/full.expected/mac_old.json
index 0db7e40..136389c 100644
--- a/recipe_modules/flutter_deps/examples/full.expected/mac_old.json
+++ b/recipe_modules/flutter_deps/examples/full.expected/mac_old.json
@@ -1883,13 +1883,13 @@
"rev-parse",
"HEAD"
],
- "cwd": "[START_DIR]/flutter\\ sdk",
+ "cwd": "[START_DIR]/flutter sdk",
"infra_step": true,
"name": "git rev-parse"
},
{
"cmd": [
- "[START_DIR]/flutter\\ sdk/bin/flutter",
+ "[START_DIR]/flutter sdk/bin/flutter",
"config",
"--clear-features"
],
diff --git a/recipe_modules/flutter_deps/examples/full.expected/noop_golds_official_builds.json b/recipe_modules/flutter_deps/examples/full.expected/noop_golds_official_builds.json
index 6481238..c823788 100644
--- a/recipe_modules/flutter_deps/examples/full.expected/noop_golds_official_builds.json
+++ b/recipe_modules/flutter_deps/examples/full.expected/noop_golds_official_builds.json
@@ -1323,7 +1323,7 @@
"rev-parse",
"HEAD"
],
- "cwd": "[START_DIR]/flutter\\ sdk",
+ "cwd": "[START_DIR]/flutter sdk",
"infra_step": true,
"luci_context": {
"realm": {
diff --git a/recipe_modules/flutter_deps/examples/full.expected/windows_vs_installed.json b/recipe_modules/flutter_deps/examples/full.expected/windows_vs_installed.json
index 669a68e..8e4cfa1 100644
--- a/recipe_modules/flutter_deps/examples/full.expected/windows_vs_installed.json
+++ b/recipe_modules/flutter_deps/examples/full.expected/windows_vs_installed.json
@@ -992,13 +992,13 @@
"rev-parse",
"HEAD"
],
- "cwd": "[START_DIR]\\flutter\\ sdk",
+ "cwd": "[START_DIR]\\flutter sdk",
"infra_step": true,
"name": "git rev-parse"
},
{
"cmd": [
- "[START_DIR]\\flutter\\ sdk\\bin\\flutter.bat",
+ "[START_DIR]\\flutter sdk\\bin\\flutter.bat",
"config",
"--clear-features"
],
diff --git a/recipe_modules/flutter_deps/examples/full.expected/windows_vs_not_installed.json b/recipe_modules/flutter_deps/examples/full.expected/windows_vs_not_installed.json
index 0936553..f89f394 100644
--- a/recipe_modules/flutter_deps/examples/full.expected/windows_vs_not_installed.json
+++ b/recipe_modules/flutter_deps/examples/full.expected/windows_vs_not_installed.json
@@ -1495,13 +1495,13 @@
"rev-parse",
"HEAD"
],
- "cwd": "[START_DIR]\\flutter\\ sdk",
+ "cwd": "[START_DIR]\\flutter sdk",
"infra_step": true,
"name": "git rev-parse"
},
{
"cmd": [
- "[START_DIR]\\flutter\\ sdk\\bin\\flutter.bat",
+ "[START_DIR]\\flutter sdk\\bin\\flutter.bat",
"config",
"--clear-features"
],
diff --git a/recipe_modules/flutter_deps/examples/full.py b/recipe_modules/flutter_deps/examples/full.py
index 181e8a6..20f0368 100644
--- a/recipe_modules/flutter_deps/examples/full.py
+++ b/recipe_modules/flutter_deps/examples/full.py
@@ -100,12 +100,12 @@
api.flutter_deps.gh_cli(env, env_prefixes, 'latest')
# Gems dependency requires to run from a flutter_environment.
- checkout_path = api.path['start_dir'].join(r'flutter\ sdk')
+ checkout_path = api.path['start_dir'].join('flutter sdk')
env, env_prefixes = api.repo_util.flutter_environment(checkout_path)
def GenTests(api):
- checkout_path = api.path['start_dir'].join(r'flutter\ sdk')
+ checkout_path = api.path['start_dir'].join('flutter sdk')
yield api.test(
'basic',
api.repo_util.flutter_environment_data(checkout_path),