{"size": 431, "ext": "js", "max_stars_repo_path": "src/vk/showBridgeResult/index.js", "max_stars_repo_name": "denismart/mini-juice", "max_stars_repo_stars_event_min_datetime": "2021-03-12T16:53:21.000Z", "max_stars_repo_stars_event_max_datetime": "2021-12-17T14:15:53.000Z", "max_issues_repo_path": "src/vk/showBridgeResult/index.js", "max_issues_repo_name": "denismart/mini-juice", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/vk/showBridgeResult/index.js", "max_forks_repo_name": "denismart/mini-juice", "max_forks_repo_forks_event_min_datetime": "2021-11-28T18:22:59.000Z", "max_forks_repo_forks_event_max_datetime": "2021-11-28T18:22:59.000Z"}
{"max_stars_count": 2, "max_issues_count": null, "max_forks_count": 1, "avg_line_length": 25.3529411765, "max_line_length": 69, "alphanum_fraction": 0.6380510441}
/**
 * Выполнить и показать в консоли результат выполнения bridge функции
 * @param {Promise} bridgeFunction - Функция bridge
 * @return {Promise}
 */
const showBridgeResult = (bridgeFunction) => bridgeFunction
    .then((response) => {
        console.log('success');
        console.log(response);
    })
    .catch((error) => {
        console.log('error');
        console.log(error);
    });

export default showBridgeResult;
