mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
[flutter_tool] Don't look for Fuchsia artifacts on Windows (#33146)
This commit is contained in:
parent
ecc7793c30
commit
2eee3f3283
@ -111,6 +111,10 @@ class FuchsiaArtifacts {
|
||||
/// FUCHSIA_SSH_CONFIG) to find the ssh configuration needed to talk to
|
||||
/// a device.
|
||||
factory FuchsiaArtifacts.find() {
|
||||
if (!platform.isLinux && !platform.isMacOS) {
|
||||
// Don't try to find the artifacts on platforms that are not supported.
|
||||
return FuchsiaArtifacts();
|
||||
}
|
||||
final String fuchsia = Cache.instance.getArtifactDirectory('fuchsia').path;
|
||||
final String tools = fs.path.join(fuchsia, 'tools');
|
||||
final String dartPrebuilts = fs.path.join(tools, 'dart_prebuilts');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user