Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(83)

Unified Diff: recipe_engine/recipe_api.py

Issue 2106153002: Make it possible to use 'cwd' in api.step.context (Closed) Base URL: https://github.com/luci/recipes-py.git@master
Patch Set: simpler Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | recipe_modules/step/api.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipe_engine/recipe_api.py
diff --git a/recipe_engine/recipe_api.py b/recipe_engine/recipe_api.py
index d2c1d8b81b11bda4c222115e30095cf7593ec392..f0226221501b123e267e93b65b0574474bf37533 100644
--- a/recipe_engine/recipe_api.py
+++ b/recipe_engine/recipe_api.py
@@ -118,6 +118,7 @@ class AggregatedStepFailure(StepFailure):
_FUNCTION_REGISTRY = {
'aggregated_result': {'combine': lambda a, b: b},
+ 'cwd': {'combine': lambda a, b: b},
'env': {'combine': lambda a, b: dict(a, **b)},
'name': {'combine': lambda a, b: '%s.%s' % (a, b)},
'nest_level': {'combine': lambda a, b: a + b},
« no previous file with comments | « no previous file | recipe_modules/step/api.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698