Fix analyzer warnings
Should make Travis green again. Also, add better logging to dev/update_packages.dart.
This commit is contained in:
@@ -10,7 +10,12 @@ update(Directory directory) {
|
||||
for (FileSystemEntity dir in directory.listSync()) {
|
||||
if (dir is Directory) {
|
||||
print("Updating ${dir.path}...");
|
||||
Process.runSync(binaryName, ['get'], workingDirectory: dir.path);
|
||||
ProcessResult result = Process.runSync(binaryName, ['get'], workingDirectory: dir.path);
|
||||
if (result.exitCode != 0) {
|
||||
print("... failed with exit code ${result.exitCode}.");
|
||||
print(result.stdout);
|
||||
print(result.stderr);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user