'use strict'; var fg = require('fast-glob'); var upath = require('upath'); function normalizeSource(source) { return Array.isArray(source) ? source.map(upath.normalize) : upath.normalize(source); } function explorePathSync(source, options) { return fg.sync(normalizeSource(source), options)[0]; } function explorePathsSync(source, options) { return fg.sync(normalizeSource(source), options); } exports.explorePathSync = explorePathSync; exports.explorePathsSync = explorePathsSync;