mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-02-28 03:42:50 +01:00
fix: format patch for adding new lines
This commit is contained in:
parent
aa049788be
commit
15dd1f8f65
@ -70,7 +70,7 @@ export class ElectronWshClientType extends WshClient {
|
||||
|
||||
async handle_createjsonpatch(rh: RpcResponseHelper, jsonCompare: JsonCompare): Promise<string> {
|
||||
const patch = createPatch(jsonCompare.original, jsonCompare.modified);
|
||||
return JSON.stringify(patch);
|
||||
return JSON.stringify(patch, null, 4);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user