Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
coderaiser committed Mar 29, 2024
1 parent 61b575a commit 9bdab10
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ console.log(data);
readify('/', {
type: 'raw',
}).then(console.log);

// output
({
path: '/',
Expand All @@ -71,6 +72,7 @@ readify('/', {
sort: 'size',
order: 'desc',
}).then(console.log);

// output
({
path: '/',
Expand Down
6 changes: 3 additions & 3 deletions lib/readify.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
'use strict';

const process = require('node:process');
const isUndefined = (a) => typeof a === 'undefined';

const format = require('format-io');
const currify = require('currify');
const tryToCatch = require('try-to-catch');

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

const WIN = process.platform === 'win32';

const readdir = require('./readdir');
const WIN = process.platform === 'win32';
const isUndefined = (a) => typeof a === 'undefined';
const nicki = !WIN && require('nicki');
const replaceProperty = currify(_replaceProperty);
const ifRaw = currify(_ifRaw);
Expand Down

0 comments on commit 9bdab10

Please sign in to comment.