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

Version Path
immosquare-cleaner-0.1.60 node_modules/babel-core/lib/helpers/resolve-from-possible-names.js
immosquare-cleaner-0.1.59 node_modules/babel-core/lib/helpers/resolve-from-possible-names.js
immosquare-cleaner-0.1.58 node_modules/babel-core/lib/helpers/resolve-from-possible-names.js
immosquare-cleaner-0.1.57 node_modules/babel-core/lib/helpers/resolve-from-possible-names.js
immosquare-cleaner-0.1.56 node_modules/babel-core/lib/helpers/resolve-from-possible-names.js
immosquare-cleaner-0.1.55 node_modules/babel-core/lib/helpers/resolve-from-possible-names.js
immosquare-cleaner-0.1.54 node_modules/babel-core/lib/helpers/resolve-from-possible-names.js
immosquare-cleaner-0.1.53 node_modules/babel-core/lib/helpers/resolve-from-possible-names.js
immosquare-cleaner-0.1.52 node_modules/babel-core/lib/helpers/resolve-from-possible-names.js
immosquare-cleaner-0.1.51 node_modules/babel-core/lib/helpers/resolve-from-possible-names.js
immosquare-cleaner-0.1.50 node_modules/babel-core/lib/helpers/resolve-from-possible-names.js
immosquare-cleaner-0.1.49 node_modules/babel-core/lib/helpers/resolve-from-possible-names.js
immosquare-cleaner-0.1.48 node_modules/babel-core/lib/helpers/resolve-from-possible-names.js
immosquare-cleaner-0.1.47 node_modules/babel-core/lib/helpers/resolve-from-possible-names.js
immosquare-cleaner-0.1.46 node_modules/babel-core/lib/helpers/resolve-from-possible-names.js
immosquare-cleaner-0.1.45 node_modules/babel-core/lib/helpers/resolve-from-possible-names.js
immosquare-cleaner-0.1.44 node_modules/babel-core/lib/helpers/resolve-from-possible-names.js
immosquare-cleaner-0.1.43 node_modules/babel-core/lib/helpers/resolve-from-possible-names.js
immosquare-cleaner-0.1.42 node_modules/babel-core/lib/helpers/resolve-from-possible-names.js
immosquare-cleaner-0.1.41 node_modules/babel-core/lib/helpers/resolve-from-possible-names.js