Index: recipe_engine/run.py |
diff --git a/recipe_engine/run.py b/recipe_engine/run.py |
index 12ae6e33a21f7284488f1832f77dc7170ee26387..e61bc4b41d2ae7f36f38e84bb876ac60fe7332bf 100644 |
--- a/recipe_engine/run.py |
+++ b/recipe_engine/run.py |
@@ -251,9 +251,12 @@ def run_steps(properties, stream_engine, step_runner, universe_view, |
recipe_script = universe_view.load_recipe(recipe, engine=engine) |
s.write_line('Running recipe with %s' % (properties,)) |
- api = loader.create_recipe_api(recipe_script.LOADED_DEPS, |
- engine, |
- recipe_test_api.DisabledTestData()) |
+ api = loader.create_recipe_api( |
+ universe_view.universe.package_deps.root_package, |
+ recipe_script.LOADED_DEPS, |
+ recipe_script.path, |
+ engine, |
+ recipe_test_api.DisabledTestData()) |
s.add_step_text('running recipe: "%s"' % recipe) |
except (loader.LoaderError, ImportError, AssertionError) as e: |