File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ async def recipe(ctx: RecipeContext) -> RecipeOutput:
5454 cleanup .add (f"devbox:{ dbx_original .id } " , dbx_original .shutdown )
5555
5656 # Write a file to the original devbox
57- await dbx_original .file .write (FILE_PATH , ORIGINAL_CONTENT )
57+ await dbx_original .file .write (file_path = FILE_PATH , contents = ORIGINAL_CONTENT )
5858
5959 # Read and display the file contents
6060 cat_original_before = await dbx_original .cmd .exec (f"cat { FILE_PATH } " )
@@ -76,7 +76,7 @@ async def recipe(ctx: RecipeContext) -> RecipeOutput:
7676 cleanup .add (f"devbox:{ dbx_clone .id } " , dbx_clone .shutdown )
7777
7878 # Modify the file on the original devbox
79- await dbx_original .file .write (FILE_PATH , MODIFIED_CONTENT )
79+ await dbx_original .file .write (file_path = FILE_PATH , contents = MODIFIED_CONTENT )
8080
8181 # Read the file contents from both devboxes
8282 cat_clone = await dbx_clone .cmd .exec (f"cat { FILE_PATH } " )
You can’t perform that action at this time.
0 commit comments