packages/scripts/deploy.js
function safeExec(command, options) {
  const result = exec(command, options);
  if (result.code !== 0) {
    exit(result.code);
    return null;
  }
  return result;
}
function safeExec(command, options) {
  const result = exec(command, options);
  if (result.code !== 0) {
    exit(result.code);
    return null;
  }
  return result;
}
function safeExec ( command , options ) { const result = exec ( command , options ) ; if ( result . code !== 0 ) { exit ( result . code ) ; return null ; } return result ; }
Exec that exits on non 0 exit code.
Exec that exits on non 0 exit code .