Fix deprecated `getSdkDir` cli_util call. (#741)
Fix deprecated `getSdkDir` cli_util call. (#741)

* Fix deprecated `getSdkDir` cli_util call.

* Revert "Fix deprecated `getSdkDir` cli_util call."

This reverts commit 829992bce32725ea06e17c653c7f55c645f1dc6b.

* Fix deprecated cli_util getSdkDir call.

dart-lang/linter,alexeieleusis/dart-lang_linter,alexeieleusis/dart-lang_linter,dart-lang/linter