whitespace cleanup (#14458)

This commit is contained in:
Alexandre Ardhuin
2018-02-05 22:20:21 +01:00
committed by GitHub
parent f5dea9325b
commit 3c379aaf43
17 changed files with 44 additions and 44 deletions

View File

@@ -23,7 +23,7 @@ Future<Null> main(List<String> rawArgs) async {
ArgResults args;
try {
args = _argParser.parse(rawArgs);
} on FormatException catch(error) {
} on FormatException catch (error) {
stderr.writeln('${error.message}\n');
stderr.writeln('Usage:\n');
stderr.writeln(_argParser.usage);

View File

@@ -77,7 +77,7 @@ void main() {
return new TaskResult.failure('Gradle did not produce an apk file at the expected place');
return new TaskResult.success(null);
} catch(e) {
} catch (e) {
return new TaskResult.failure(e.toString());
} finally {
project.parent.deleteSync(recursive: true);

View File

@@ -170,7 +170,7 @@ class AndroidDeviceDiscovery implements DeviceDiscovery {
// TODO(yjbanov): check battery level
await device._getWakefulness();
results['android-device-$deviceId'] = new HealthCheckResult.success();
} catch(e, s) {
} catch (e, s) {
results['android-device-$deviceId'] = new HealthCheckResult.error(e, s);
}
}

View File

@@ -476,7 +476,7 @@ String extractCloudAuthTokenArg(List<String> rawArgs) {
ArgResults args;
try {
args = argParser.parse(rawArgs);
} on FormatException catch(error) {
} on FormatException catch (error) {
stderr.writeln('${error.message}\n');
stderr.writeln('Usage:\n');
stderr.writeln(argParser.usage);

View File

@@ -36,7 +36,7 @@ void main() {
test(testDescription, () {
try {
loadTaskManifest(yaml);
} on ManifestError catch(error) {
} on ManifestError catch (error) {
expect(error.message, errorMessage);
}
});