mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-11-14 15:16:18 +00:00
13 lines
389 B
JavaScript
13 lines
389 B
JavaScript
|
"use strict";
|
||
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||
|
const fsAdapter = require("../adapters/fs");
|
||
|
function prepare(opts) {
|
||
|
const options = Object.assign({
|
||
|
fs: fsAdapter.getFileSystemAdapter(opts ? opts.fs : undefined),
|
||
|
throwErrorOnBrokenSymlinks: true,
|
||
|
followSymlinks: true
|
||
|
}, opts);
|
||
|
return options;
|
||
|
}
|
||
|
exports.prepare = prepare;
|