mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fix rm (#37706)
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:
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;
|
||||
|
||||
Reference in New Issue
Block a user