Cleanup empty statements.

The new `empty_statements` lint (in the next DEV roll), flags these empty statements.  Harmless, except the one in `basic.dart` that fixes a real-life bug. :)
This commit is contained in:
pq
2016-06-28 13:42:22 -07:00
parent 1a5ca2f675
commit 543f705adb
9 changed files with 17 additions and 13 deletions

View File

@@ -461,7 +461,7 @@ Future<int> buildAndroid(
String targetPath = entity.path.substring(assetsDir.path.length);
extraFiles["assets/$targetPath"] = entity;
}
};
}
}
// In debug (JIT) mode, the snapshot lives in the FLX, and we can skip the APK

View File

@@ -660,7 +660,7 @@ class IOSSimulator extends Device {
String name = path.basename(entity.path);
return entity is File && name.startsWith('Simulator') && name.endsWith('.png');
}));
};
}
Set<File> existingScreenshots = getScreenshots();