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

Unified Diff: recipe_modules/json/example.py

Issue 1923013002: Revert of recipe engine: extract infra-specific paths out of the engine (Closed) Base URL: https://github.com/luci/recipes-py.git@master
Patch Set: 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 1251c4165d4fca5c0902c1a33492e77a54b7b6da..3ee4653ae67acd76ae1f227b0e729b060b27257a 100644
--- a/recipe_modules/json/example.py
+++ b/recipe_modules/json/example.py
@@ -53,7 +53,7 @@
assert step_result.stdout == example_dict
# json.read reads a file containing json data.
- leak_path = api.path['tmp'].join('temp.json')
+ leak_path = api.path['slave_build'].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