Skip to content

Commit 71201b0

Browse files
committed
using Prettier's hasNewline and ignoring our old implementation for this
1 parent 40f3aa7 commit 71201b0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/comments/printer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
const {
22
doc: {
33
builders: { hardline, join }
4-
}
4+
},
5+
util: { hasNewline }
56
} = require('prettier');
6-
const { hasNewline } = require('../prettier-comments/common/util');
77

88
function isIndentableBlockComment(comment) {
99
// If the comment has multiple lines and every line starts with a star

0 commit comments

Comments
 (0)