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:
David Aurelio 2018-04-27 06:59:09 -07:00 committed by Facebook Github Bot
parent e2bea00c33
commit 5b0a5b9856

View File

@ -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 {