Skip to content

Commit 63cc7bd

Browse files
committed
Pretty print tool-cache.json
1 parent 9ce63b7 commit 63cc7bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tool_cache.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ impl ToolCache {
152152
}
153153

154154
fn save(&self) -> io::Result<()> {
155-
let serialized = serde_json::to_string(self).unwrap();
155+
let serialized = serde_json::to_string_pretty(self).unwrap();
156156
fs::write(index_file(), serialized)
157157
}
158158
}

0 commit comments

Comments
 (0)