UNPKG

bit-bin

Version:

<a href="https://opensource.org/licenses/Apache-2.0"><img alt="apache" src="https://img.shields.io/badge/License-Apache%202.0-blue.svg"></a> <a href="https://github.com/teambit/bit/blob/master/CONTRIBUTING.md"><img alt="prs" src="https://img.shields.io/b

31 lines (23 loc) 586 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = getGitExecutablePath; function _globalConfig() { const data = require("../../api/consumer/lib/global-config"); _globalConfig = function () { return data; }; return data; } function _constants() { const data = require("../../constants"); _constants = function () { return data; }; return data; } function getGitExecutablePath() { const executablePath = (0, _globalConfig().getSync)(_constants().CFG_GIT_EXECUTABLE_PATH); return executablePath || 'git'; }