Skip to content

Commit 19788fb

Browse files
committed
chore: switch to tinyglobby
1 parent 2611d16 commit 19788fb

3 files changed

Lines changed: 123 additions & 16 deletions

File tree

cli.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env node
2-
import { globbySync } from 'globby'
2+
import { globSync } from 'tinyglobby'
33
import fs from 'node:fs'
44
import getStdin from 'get-stdin'
55
import sortPackageJson from './index.js'
@@ -44,7 +44,7 @@ function sortPackageJsonFile(file, reporter, isCheck) {
4444
}
4545

4646
function sortPackageJsonFiles(patterns, options) {
47-
const files = globbySync(patterns)
47+
const files = globSync(patterns)
4848
const reporter = new Reporter(files, options)
4949
const { isCheck } = options
5050

0 commit comments

Comments
 (0)