We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b2dbc7 commit 9f79e47Copy full SHA for 9f79e47
src/run-prettier.ts
@@ -121,9 +121,7 @@ export async function runPrettier(
121
if (
122
lines[lineIndex].startsWith(`diff --git ${original.version.kind}|`) &&
123
lines[lineIndex + 1].startsWith("index ") &&
124
- lines[lineIndex + 2].startsWith(
125
- `--- ${original.version.kind}|http://github.com/`,
126
- ) &&
+ lines[lineIndex + 2].startsWith(`--- ${original.version.kind}|`) &&
127
lines[lineIndex + 3].startsWith(`+++ ${alternative.version.kind}|`)
128
) {
129
// Remove the useless head
0 commit comments