-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid calling cfg constructor in nested cells
Summary: PACKAGE values aren't shared across cells, but we can use get_root_config() and get_config() to determine if we are in the root cell or not. Reviewed By: bigfootjon Differential Revision: D64993387 fbshipit-source-id: 240929d4bc5f87ea7e8ce1460821e3243323da6a
- Loading branch information
1 parent
327b466
commit 19c8296
Showing
2 changed files
with
7 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters