Index: tools/observatory_tool.py |
diff --git a/tools/observatory_tool.py b/tools/observatory_tool.py |
index 18d50c9366a16f2a95876e1bdc12882675ea78f4..710cfa53297893ac5ce5f921f7dcadfe06bb1f5b 100755 |
--- a/tools/observatory_tool.py |
+++ b/tools/observatory_tool.py |
@@ -68,9 +68,9 @@ def Deploy(input_dir, output_dir): |
def ExecuteCommand(options, args): |
cmd = options.command |
if (cmd == 'get'): |
- PubGet(options.dart_executable, options.package_root) |
+ return PubGet(options.dart_executable, options.package_root) |
elif (cmd == 'build'): |
- PubBuild(options.dart_executable, options.package_root, args[0]) |
+ return PubBuild(options.dart_executable, options.package_root, args[0]) |
elif (cmd == 'deploy'): |
Deploy('build', 'deployed') |
else: |