change quote to avoid escapes (#50368)
This commit is contained in:
committed by
GitHub
parent
fd1062debd
commit
f15c887c63
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user