Skip to content

Commit a4c36bd

Browse files
authored
Merge pull request #261 from patricklx/patch-1
2 parents d6bd90b + 592d887 commit a4c36bd

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/rules/prettier.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ export default class Prettier extends Rule {
133133
case REPLACE:
134134
message = `Replace \`${showInvisibles(
135135
difference.deleteText
136-
)}\` with \`${difference.insertText}\``;
136+
)}\` with \`${showInvisibles(difference.insertText)}\``;
137137
break;
138138
}
139139

test/unit/rules/lint-prettier-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ test
4949
fixedTemplate: `<div data-foo data-bar="lol" some-other-thing={{haha-morethaneightychars}}>
5050
</div>`,
5151
result: {
52-
message: 'Replace `⏎·data-bar="lol"⏎·····` with ` data-bar="lol"`',
52+
message: 'Replace `⏎·data-bar="lol"⏎·····` with `·data-bar="lol"`',
5353
line: 1,
5454
column: 13,
5555
endLine: 3,

0 commit comments

Comments
 (0)