mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
chore(linter): fix merge conflict
This commit is contained in:
parent
110661cc80
commit
b3d4a53396
2 changed files with 22 additions and 22 deletions
|
|
@ -307,7 +307,7 @@ impl SortImports {
|
|||
let specifiers_span = specifiers[0].span.merge(&specifiers[specifiers.len() - 1].span);
|
||||
ctx.diagnostic_with_fix(
|
||||
sort_members_alphabetically_diagnostic(unsorted_name, unsorted_span),
|
||||
|| {
|
||||
|fixer| {
|
||||
// import { a, b, c, d } from 'foo.js'
|
||||
// ^ ^^^^^^ ^
|
||||
let mut paddings: Vec<&str> = specifiers
|
||||
|
|
@ -344,7 +344,7 @@ impl SortImports {
|
|||
},
|
||||
);
|
||||
|
||||
Fix::new(sorted_text, specifiers_span)
|
||||
fixer.replace(specifiers_span, sorted_text)
|
||||
},
|
||||
);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue