Remove absolute paths

This commit is contained in:
CrazyMax 2020-04-08 00:33:20 +02:00
parent ff47e64685
commit fce5f2e313
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7
342 changed files with 6646 additions and 7223 deletions

View file

@ -1,11 +1,11 @@
'use strict';
const PassThrough = require('stream').PassThrough;
const {PassThrough} = require('stream');
module.exports = opts => {
opts = Object.assign({}, opts);
module.exports = options => {
options = Object.assign({}, options);
const array = opts.array;
let encoding = opts.encoding;
const {array} = options;
let {encoding} = options;
const buffer = encoding === 'buffer';
let objectMode = false;