change quote to avoid escapes (#50368)

This commit is contained in:
Alexandre Ardhuin
2020-02-11 20:58:27 +01:00
committed by GitHub
parent fd1062debd
commit f15c887c63
171 changed files with 362 additions and 362 deletions

View File

@@ -225,7 +225,7 @@ class FuchsiaDeviceDiscovery implements DeviceDiscovery {
String get _devFinder {
final String devFinder = path.join(getArtifactPath(), 'fuchsia', 'tools', 'device-finder');
if (!File(devFinder).existsSync()) {
throw FileSystemException('Couldn\'t find device-finder at location $devFinder');
throw FileSystemException("Couldn't find device-finder at location $devFinder");
}
return devFinder;
}

View File

@@ -193,7 +193,7 @@ Future<void> checkApkContainsClasses(File apk, List<String> classes) async {
final ApkExtractor extractor = ApkExtractor(apk);
for (final String className in classes) {
if (!(await extractor.containsClass(className))) {
throw Exception('APK doesn\'t contain class `$className`.');
throw Exception("APK doesn't contain class `$className`.");
}
}
extractor.dispose();