Skip to content

Conversation

@huntie
Copy link
Collaborator

@huntie huntie commented Jun 16, 2023

Summary

Refactor to reference fs instead of fs-extra within cli-plugin-metro, removing this (implicit) npm dependency.

Changelog: None

Test Plan

[Incoming]

@huntie huntie requested review from adamTrz and thymikee as code owners June 16, 2023 14:47
@huntie huntie force-pushed the remove-fs-extra branch from 9adb8db to 596b486 Compare June 16, 2023 14:53
@thymikee thymikee merged commit 1796cdd into react-native-community:main Jun 16, 2023
@huntie huntie deleted the remove-fs-extra branch June 16, 2023 15:47

export function writeImageSet(imageSet: ImageSet): void {
fs.mkdirsSync(imageSet.basePath);
fs.mkdirSync(imageSet.basePath);
Copy link
Collaborator

Choose a reason for hiding this comment

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

@huntie This should have { recursive: true } to be equivalent to mkdirs.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants