Skip to content

Commit 6b5321a

Browse files
😒 chore(lint): Run xo --fix.
1 parent 110add9 commit 6b5321a

20 files changed

+40
-40
lines changed

src/fromAsyncIterable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ import fromIterator from './fromIterator';
77
* @param {AsyncIterable} _iterable - The iterable to convert.
88
* @returns {Tape} The converted tape.
99
*/
10-
export default _iterable => fromIterator(_iterable[Symbol.asyncIterator]());
10+
export default (_iterable) => fromIterator(_iterable[Symbol.asyncIterator]());

src/fromCallable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ import Tape from './Tape';
77
* @param {Callable} callable - The callable to convert.
88
* @returns {Tape} The converted tape.
99
*/
10-
export default callable => new Tape(callable);
10+
export default (callable) => new Tape(callable);

src/fromIterable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ import fromIterator from './fromIterator';
77
* @param {Iterable} iterable - The iterable to convert.
88
* @returns {Tape} The converted tape.
99
*/
10-
export default iterable => fromIterator(iterable[Symbol.iterator]());
10+
export default (iterable) => fromIterator(iterable[Symbol.iterator]());

src/fromIterator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ import fromCallable from './fromCallable';
77
* @param {Iterator} iterator - The iterator to convert.
88
* @returns {Tape} The converted tape.
99
*/
10-
export default iterator => fromCallable(iterator.next.bind(iterator));
10+
export default (iterator) => fromCallable(iterator.next.bind(iterator));

src/fromReadStream.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ export async function* _fromReadStream(readStream) {
2020
* @param {ReadStream} readStream - The ReadStream object to convert.
2121
* @returns {Tape} The converted tape.
2222
*/
23-
export default readStream => fromAsyncIterable(_fromReadStream(readStream));
23+
export default (readStream) => fromAsyncIterable(_fromReadStream(readStream));

src/split.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export async function* _split(tape, sep) {
3232
if (_sep.has(token)) continue;
3333

3434
const group = fromAsyncIterable(
35-
(async function*() {
35+
(async function* () {
3636
yield token;
3737

3838
while (true) {

src/toArray.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ import asyncIterableToArray from './asyncIterableToArray';
88
* @param {Tape} tape - The tape to read from.
99
* @returns {Array} The converted array.
1010
*/
11-
export default tape => asyncIterableToArray(toAsyncIterable(tape));
11+
export default (tape) => asyncIterableToArray(toAsyncIterable(tape));

src/toAsyncCallable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import toAsyncIterator from './toAsyncIterator';
77
* @param {Tape} tape - The tape to read from.
88
* @return {Callable} The converted callable.
99
*/
10-
export default tape => {
10+
export default (tape) => {
1111
const it = toAsyncIterator(tape);
1212
return it.next.bind(it);
1313
};

src/toAsyncIterator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ import toAsyncIterable from './toAsyncIterable';
77
* @param {Tape} tape - The tape to read from.
88
* @returns {AsyncIterator} The converted iterator.
99
*/
10-
export default tape => toAsyncIterable(tape)[Symbol.asyncIterator]();
10+
export default (tape) => toAsyncIterable(tape)[Symbol.asyncIterator]();

src/toString.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ import toArray from './toArray';
77
* @param {Tape} tape - The tape to read from.
88
* @returns {String} The converted string.
99
*/
10-
export default async tape => (await toArray(tape)).join('');
10+
export default async (tape) => (await toArray(tape)).join('');

0 commit comments

Comments
 (0)