mirror of
https://github.com/status-im/react-native.git
synced 2025-02-04 05:34:15 +00: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:
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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user