Sha256: d50973311bf334084464053b895f1e0ae373e881482f06d44404bf1a76ac7d2c
Contents?: true
Size: 696 Bytes
Versions: 23
Compression:
Stored size: 696 Bytes
Contents
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const fs = require("./adapters/fs"); class Settings { constructor(_options = {}) { this._options = _options; this.followSymbolicLink = this._getValue(this._options.followSymbolicLink, true); this.fs = fs.createFileSystemAdapter(this._options.fs); this.markSymbolicLink = this._getValue(this._options.markSymbolicLink, false); this.throwErrorOnBrokenSymbolicLink = this._getValue(this._options.throwErrorOnBrokenSymbolicLink, true); } _getValue(option, value) { return option === undefined ? value : option; } } exports.default = Settings;
Version data entries
23 entries across 23 versions & 1 rubygems