Skip to content

Commit 968d7ac

Browse files
committed
fix: \n
1 parent 05aed69 commit 968d7ac

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/lib/util.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ export function updatePluginXml(pkg: typeof pluginPkg)
3131
prettyPrint: true,
3232
})
3333
.replace(/^\<\?xml version="1\.0"\?\>\s*/, '')
34+
.concat('\n')
35+
.replace(/\n\n+$/, '\n')
3436
;
3537

3638
console.log(`update`, `resources/META-INF/plugin.xml`);

0 commit comments

Comments
 (0)