Skip to content

Commit 9bdab10

Browse files
committed
chore: lint
1 parent 61b575a commit 9bdab10

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ console.log(data);
5353
readify('/', {
5454
type: 'raw',
5555
}).then(console.log);
56+
5657
// output
5758
({
5859
path: '/',
@@ -71,6 +72,7 @@ readify('/', {
7172
sort: 'size',
7273
order: 'desc',
7374
}).then(console.log);
75+
7476
// output
7577
({
7678
path: '/',

lib/readify.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
'use strict';
22

33
const process = require('node:process');
4-
const isUndefined = (a) => typeof a === 'undefined';
4+
55
const format = require('format-io');
66
const currify = require('currify');
77
const tryToCatch = require('try-to-catch');
88

99
const sortify = require('@cloudcmd/sortify');
1010
const formatify = require('@cloudcmd/formatify');
1111

12-
const WIN = process.platform === 'win32';
13-
1412
const readdir = require('./readdir');
13+
const WIN = process.platform === 'win32';
14+
const isUndefined = (a) => typeof a === 'undefined';
1515
const nicki = !WIN && require('nicki');
1616
const replaceProperty = currify(_replaceProperty);
1717
const ifRaw = currify(_ifRaw);

0 commit comments

Comments
 (0)