Skip to content

[flutter_tools] Isolate userHomePath, other cleanups#50125

Merged
fluttergithubbot merged 1 commit intoflutter:masterfrom
zanderso:isolate-user-home-path
Feb 5, 2020
Merged

[flutter_tools] Isolate userHomePath, other cleanups#50125
fluttergithubbot merged 1 commit intoflutter:masterfrom
zanderso:isolate-user-home-path

Conversation

@zanderso
Copy link
Copy Markdown
Member

@zanderso zanderso commented Feb 4, 2020

Description

This is a follow-up to #49909 that moves userHomePath from FileSystemUtils to Config, which was its only user. It also removes references to the context from PersistentToolState, and reworks Config and PersistentToolState to not depend on FileSystemUtils.

Related Issues

#47161

Tests

I added the following tests:

Fixed config_test.dart and persistent_tool_state_test.dart.

Breaking Change

Did any tests fail when you ran them? Please read [Handling breaking changes].

  • No, no existing tests failed, so this is not a breaking change.

@zanderso zanderso added tool Affects the "flutter" command-line tool. See also t: labels. work in progress; do not review labels Feb 4, 2020
Copy link
Copy Markdown
Contributor

@jonahwilliams jonahwilliams left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants