Skip to content

[flutter_tools] Make Config context-free#49834

Merged
zanderso merged 1 commit intoflutter:masterfrom
zanderso:config-context-free
Jan 31, 2020
Merged

[flutter_tools] Make Config context-free#49834
zanderso merged 1 commit intoflutter:masterfrom
zanderso:config-context-free

Conversation

@zanderso
Copy link
Copy Markdown
Member

@zanderso zanderso commented Jan 30, 2020

Description

This PR removes mentions of the context from the Config class. It also moves the global fsUtils to globals.dart.

Related Issues

#47161

Tests

I added the following tests:

Updated config_test.dart to use testWithoutContext().

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 Jan 30, 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!

@zanderso zanderso merged commit 2c51efe into flutter:master Jan 31, 2020
@zanderso zanderso deleted the config-context-free branch January 31, 2020 20:51
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Aug 1, 2021
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.

3 participants