Sha256: bc023aac280b54e9a8839c59849ef19f972d12c7f7db5c63a17896bd545076ef
Contents?: true
Size: 497 Bytes
Versions: 41
Compression:
Stored size: 497 Bytes
Contents
"use strict"; exports.__esModule = true; exports.default = resolveFromPossibleNames; var _resolve = require("./resolve"); var _resolve2 = _interopRequireDefault(_resolve); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function resolveFromPossibleNames(possibleNames, dirname) { return possibleNames.reduce(function (accum, curr) { return accum || (0, _resolve2.default)(curr, dirname); }, null); } module.exports = exports["default"];
Version data entries
41 entries across 37 versions & 9 rubygems