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
51 lines (37 loc) • 980 B
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
function _bluebird() {
const data = require("bluebird");
_bluebird = function () {
return data;
};
return data;
}
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;
}
var _default = /*#__PURE__*/function () {
var _getPathToIdentityFile = (0, _bluebird().coroutine)(function* () {
const identityFile = yield (0, _globalConfig().get)(_constants().CFG_SSH_KEY_FILE_KEY);
return identityFile || _constants().DEFAULT_SSH_KEY_FILE;
});
function getPathToIdentityFile() {
return _getPathToIdentityFile.apply(this, arguments);
}
return getPathToIdentityFile;
}();
exports.default = _default;
;