mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-25 12:55:41 +08:00
Remove shelljs(?) leftover
Summary: `try-n-times` is used in some integration tests of React Native, but was using a non-existent `echo` function. Here, we replace that with `console.warn` Reviewed By: mjesun Differential Revision: D7788436 fbshipit-source-id: 0f42a00b7be780ee31cbf397fdd12ad4ccd500b1
This commit is contained in:
committed by
Facebook Github Bot
parent
e2bea00c33
commit
5b0a5b9856
@@ -26,7 +26,7 @@ function tryExecNTimes(funcToRetry, retriesLeft, onEveryError) {
|
||||
onEveryError();
|
||||
}
|
||||
retriesLeft--;
|
||||
echo(`Command failed, ${retriesLeft} retries left`);
|
||||
console.warn(`Command failed, ${retriesLeft} retries left`);
|
||||
if (retriesLeft === 0) {
|
||||
return exitCode;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user