'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = getPathToIdentityFile;

var _globalConfig;

function _load_globalConfig() {
  return _globalConfig = require('../../api/consumer/lib/global-config');
}

var _constants;

function _load_constants() {
  return _constants = require('../../constants');
}

function getPathToIdentityFile() {
  var identityFile = (0, (_globalConfig || _load_globalConfig()).getSync)((_constants || _load_constants()).CFG_SSH_KEY_FILE_KEY);
  return identityFile || (_constants || _load_constants()).DEFAULT_SSH_KEY_FILE;
}