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

Unified Diff: recipe_modules/step/example.py

Issue 1777003003: recipe_engine: change resource API to use repo root (Closed) Base URL: https://github.com/luci/recipes-py.git@master
Patch Set: review Created 4 years, 9 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 | « recipe_modules/path/example.expected/win.json ('k') | recipe_modules/step/example.expected/basic.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipe_modules/step/example.py
diff --git a/recipe_modules/step/example.py b/recipe_modules/step/example.py
index 88f2ffe73aa685bbabe8d79856c349420921e5b1..d211d21ed4e6cf5b5373286fc23daa23ed5608bd 100644
--- a/recipe_modules/step/example.py
+++ b/recipe_modules/step/example.py
@@ -44,7 +44,7 @@ def RunSteps(api, bad_return, raise_infra_failure, access_invalid_data):
['recipes.py', '--help'],
env={
'PATH': api.path.pathsep.join(
- [str(api.step.package_resource()), '%(PATH)s']),
+ [str(api.step.package_repo_resource()), '%(PATH)s']),
})
# Finally, you can make your step accept any return code
« no previous file with comments | « recipe_modules/path/example.expected/win.json ('k') | recipe_modules/step/example.expected/basic.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698