HomePhabricator

clang-format: [JS] do not merge side-effect imports.

Authored by mprobst on Apr 21 2021, 10:54 PM.

Description

clang-format: [JS] do not merge side-effect imports.

The if condition was testing the current element, but
forgot to check the previous element (doh), so it
would fail depending on sort order of the imports.

Differential Revision: https://reviews.llvm.org/D101020