You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
389 B

4 years ago
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. const fsAdapter = require("../adapters/fs");
  4. function prepare(opts) {
  5. const options = Object.assign({
  6. fs: fsAdapter.getFileSystemAdapter(opts ? opts.fs : undefined),
  7. throwErrorOnBrokenSymlinks: true,
  8. followSymlinks: true
  9. }, opts);
  10. return options;
  11. }
  12. exports.prepare = prepare;