Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/37706

Changelog: [Internal] Fix wrong usage of shelljs `rm`

Reviewed By: NickGerleman

Differential Revision: D46450762

fbshipit-source-id: 9e519222642421b596827675af38f643fa84c9f7
This commit is contained in:
Luna Wei
2023-06-05 23:25:18 -07:00
committed by Facebook GitHub Bot
parent b6b247b874
commit cf27e246ce
@@ -54,7 +54,7 @@ function hasChanges(
);
// delete tarball and restore package.json changes
rm({cwd: packageAbsolutePath}, localTarballName);
rm(path.join(packageAbsolutePath, localTarballName));
restore(packageAbsolutePath);
return diff.trim().length !== 0;