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

Unified Diff: recipe_modules/json/example.py

Issue 1906323003: recipe engine: extract infra-specific paths out of the engine (Closed) Base URL: https://github.com/luci/recipes-py.git@master
Patch Set: tmp Created 4 years, 8 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
Index: recipe_modules/json/example.py
diff --git a/recipe_modules/json/example.py b/recipe_modules/json/example.py
index 3ee4653ae67acd76ae1f227b0e729b060b27257a..1251c4165d4fca5c0902c1a33492e77a54b7b6da 100644
--- a/recipe_modules/json/example.py
+++ b/recipe_modules/json/example.py
@@ -53,7 +53,7 @@ def RunSteps(api):
assert step_result.stdout == example_dict
# json.read reads a file containing json data.
- leak_path = api.path['slave_build'].join('temp.json')
+ leak_path = api.path['tmp'].join('temp.json')
api.step('write json to file',
['cat', api.json.input(example_dict)],
stdout=api.raw_io.output(leak_to=leak_path))
« no previous file with comments | « recipe_modules/generator_script/example.expected/presentation.json ('k') | recipe_modules/json/example.expected/basic.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698