Skip to content

Commit 529a599

Browse files
authored
Fix some indentation (flutter#84967)
1 parent 6c2c702 commit 529a599

File tree

9 files changed

+26
-26
lines changed

9 files changed

+26
-26
lines changed

packages/flutter_tools/lib/executable.dart

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -113,18 +113,18 @@ Future<void> main(List<String> args) async {
113113
persistentToolState: globals.persistentToolState,
114114
),
115115
Logger: () {
116-
final LoggerFactory loggerFactory = LoggerFactory(
117-
outputPreferences: globals.outputPreferences,
118-
terminal: globals.terminal,
119-
stdio: globals.stdio,
120-
);
121-
return loggerFactory.createLogger(
122-
daemon: daemon,
123-
machine: runMachine,
124-
verbose: verbose && !muteCommandLogging,
125-
prefixedErrors: prefixedErrors,
126-
windows: globals.platform.isWindows,
127-
);
116+
final LoggerFactory loggerFactory = LoggerFactory(
117+
outputPreferences: globals.outputPreferences,
118+
terminal: globals.terminal,
119+
stdio: globals.stdio,
120+
);
121+
return loggerFactory.createLogger(
122+
daemon: daemon,
123+
machine: runMachine,
124+
verbose: verbose && !muteCommandLogging,
125+
prefixedErrors: prefixedErrors,
126+
windows: globals.platform.isWindows,
127+
);
128128
},
129129
},
130130
);

packages/flutter_tools/lib/src/android/android_sdk.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ class AndroidSdkVersion implements Comparable<AndroidSdkVersion> {
540540
}
541541

542542
String getBuildToolsPath(String binaryName) {
543-
return sdk.directory.childDirectory('build-tools').childDirectory(buildToolsVersionName).childFile(binaryName).path;
543+
return sdk.directory.childDirectory('build-tools').childDirectory(buildToolsVersionName).childFile(binaryName).path;
544544
}
545545

546546
@override

packages/flutter_tools/lib/src/artifacts.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ class CachedArtifacts implements Artifacts {
576576
return _fileSystem.path.join(engineArtifactsPath, platformDirName, _artifactToFileName(artifact, platform, mode));
577577
case Artifact.windowsUwpDesktopPath:
578578
final String engineArtifactsPath = _cache.getArtifactDirectory('engine').path;
579-
return _fileSystem.path.join(engineArtifactsPath, 'windows-uwp-x64-${getNameForBuildMode(mode!)}', _artifactToFileName(artifact, platform, mode));
579+
return _fileSystem.path.join(engineArtifactsPath, 'windows-uwp-x64-${getNameForBuildMode(mode!)}', _artifactToFileName(artifact, platform, mode));
580580
case Artifact.windowsCppClientWrapper:
581581
final String engineArtifactsPath = _cache.getArtifactDirectory('engine').path;
582582
return _fileSystem.path.join(engineArtifactsPath, 'windows-x64', _artifactToFileName(artifact, platform, mode));
@@ -903,7 +903,7 @@ class CachedLocalEngineArtifacts implements LocalEngineArtifacts {
903903
}
904904

905905
String _flutterTesterPath(TargetPlatform platform) {
906-
if (_platform.isLinux) {
906+
if (_platform.isLinux) {
907907
return _fileSystem.path.join(engineOutPath, _artifactToFileName(Artifact.flutterTester));
908908
} else if (_platform.isMacOS) {
909909
return _fileSystem.path.join(engineOutPath, 'flutter_tester');

packages/flutter_tools/lib/src/commands/packages.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,8 @@ class PackagesGetCommand extends FlutterCommand {
162162
final String target = findProjectRoot(globals.fs, workingDirectory);
163163
if (target == null) {
164164
throwToolExit(
165-
'Expected to find project root in '
166-
'${ workingDirectory ?? "current working directory" }.'
165+
'Expected to find project root in '
166+
'${ workingDirectory ?? "current working directory" }.'
167167
);
168168
}
169169
final FlutterProject rootProject = FlutterProject.fromDirectory(globals.fs.directory(target));

packages/flutter_tools/lib/src/commands/run.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ class RunCommand extends RunCommandBase {
593593
}
594594
if (await device.isLocalEmulator && await device.supportsHardwareRendering) {
595595
if (boolArg('enable-software-rendering')) {
596-
globals.printStatus(
596+
globals.printStatus(
597597
'Using software rendering with device ${device.name}. You may get better performance '
598598
'with hardware mode by configuring hardware rendering for your device.'
599599
);

packages/flutter_tools/lib/src/commands/symbolize.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ class SymbolizeCommand extends FlutterCommand {
8787
if (!outputFile.parent.existsSync()) {
8888
outputFile.parent.createSync(recursive: true);
8989
}
90-
output = outputFile.openWrite();
90+
output = outputFile.openWrite();
9191
} else {
9292
final StreamController<List<int>> outputController = StreamController<List<int>>();
9393
outputController

packages/flutter_tools/test/general.shard/runner/flutter_command_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ void main() {
471471
"generator": "pub",
472472
"generatorVersion": "2.12.0-76.0.dev"
473473
}
474-
''');
474+
''');
475475
final FakeReportingNullSafetyCommand command = FakeReportingNullSafetyCommand();
476476
final CommandRunner<void> runner = createTestCommandRunner(command);
477477

packages/flutter_tools/test/general.shard/terminal_handler_test.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1106,7 +1106,7 @@ void main() {
11061106
final FileSystem fileSystem = MemoryFileSystem.test();
11071107
final TerminalHandler terminalHandler = setUpTerminalHandler(
11081108
<FakeVmServiceRequest>[
1109-
listViews,
1109+
listViews,
11101110
FakeVmServiceRequest(
11111111
method: 'ext.flutter.debugAllowBanner',
11121112
args: <String, Object>{
@@ -1132,7 +1132,7 @@ void main() {
11321132
final FileSystem fileSystem = MemoryFileSystem.test();
11331133
final TerminalHandler terminalHandler = setUpTerminalHandler(
11341134
<FakeVmServiceRequest>[
1135-
listViews,
1135+
listViews,
11361136
FakeVmServiceRequest(
11371137
method: 'ext.flutter.debugAllowBanner',
11381138
args: <String, Object>{
@@ -1168,7 +1168,7 @@ void main() {
11681168
final FileSystem fileSystem = MemoryFileSystem.test();
11691169
final TerminalHandler terminalHandler = setUpTerminalHandler(
11701170
<FakeVmServiceRequest>[
1171-
listViews,
1171+
listViews,
11721172
FakeVmServiceRequest(
11731173
method: 'ext.flutter.debugAllowBanner',
11741174
args: <String, Object>{
@@ -1205,7 +1205,7 @@ void main() {
12051205
final FileSystem fileSystem = MemoryFileSystem.test();
12061206
final TerminalHandler terminalHandler = setUpTerminalHandler(
12071207
<FakeVmServiceRequest>[
1208-
listViews,
1208+
listViews,
12091209
FakeVmServiceRequest(
12101210
method: 'ext.flutter.debugAllowBanner',
12111211
args: <String, Object>{

packages/flutter_tools/test/integration.shard/test_driver.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ class FlutterRunTestDriver extends FlutterTestDriver {
512512
await _setupProcess(
513513
<String>[
514514
'attach',
515-
...getLocalEngineArguments(),
515+
...getLocalEngineArguments(),
516516
'--machine',
517517
if (!spawnDdsInstance)
518518
'--no-dds',
@@ -732,7 +732,7 @@ class FlutterTestTestDriver extends FlutterTestDriver {
732732
}) async {
733733
await _setupProcess(<String>[
734734
'test',
735-
...getLocalEngineArguments(),
735+
...getLocalEngineArguments(),
736736
'--disable-service-auth-codes',
737737
'--machine',
738738
if (coverage)

0 commit comments

Comments
 (0)