actionhero
Version:
The reusable, scalable, and quick node.js API server for stateless and stateful applications
9 lines (8 loc) • 315 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.safeGlobSync = safeGlobSync;
const glob = require("glob");
function safeGlobSync(match, args = {}) {
const isWindows = process.platform === "win32";
return glob.sync(match, { ...args, windowsPathsNoEscape: isWindows });
}