Skip to content

Commit

Permalink
Pass formatting through to plist. Fixes #31
Browse files Browse the repository at this point in the history
  • Loading branch information
mlynch committed Dec 10, 2021
1 parent 6b542c8 commit ae52941
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/project/src/ios/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,11 @@ export class IosProject {

private plistCommitFn = async (file: VFSRef) => {
const data = file.getData();
const xml = plist.build(data);
const xml = plist.build(data, {
indent: ' ', // Tab character
offset: -1,
newline: '\n'
});
return writeFile(file.getFilename(), xml);
}
}

0 comments on commit ae52941

Please sign in to comment.