Skip to content
This repository was archived by the owner on Apr 21, 2022. It is now read-only.

Commit 5a01220

Browse files
committed
fix: trim template
1 parent 9757e3a commit 5a01220

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/proccess.js

+2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ module.exports = function(file, plugins) {
1212
file = vfile({ contents: file })
1313
}
1414

15+
vfile.contents = file.contents.trim()
16+
1517
const preccessor = [
1618
[
1719
parse,

0 commit comments

Comments
 (0)