Skip to content

Commit 0af33c0

Browse files
committed
fixed lint issue
1 parent c5e533b commit 0af33c0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

examples/devbox_snapshot_resume.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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}")

0 commit comments

Comments
 (0)