IanVS / prettier-plugin-sort-imports

An opinionated but flexible prettier plugin to sort import statements
Apache License 2.0
951 stars 21 forks source link

Bugfix: handle case where `filepath` isn't available due to programatic access of prettier #105

Closed sitch closed 1 year ago

sitch commented 1 year ago

add option chain

IanVS commented 1 year ago

Thanks for the PR, but this change was already made in https://github.com/IanVS/prettier-plugin-sort-imports/pull/104.

fbartho commented 1 year ago

Thanks for contributing @sitch -- we actually had a preceding PR #104 with almost the same fix as you contributed (Some additional typescript shenanigans).

@IanVS is will soon release a patch release with the fix in it.

Thanks again!