Skip to content

Commit

Permalink
chore: switch to tinyglobby (#326)
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann authored Oct 16, 2024
1 parent 2611d16 commit 99a9760
Show file tree
Hide file tree
Showing 3 changed files with 123 additions and 16 deletions.
4 changes: 2 additions & 2 deletions cli.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env node
import { globbySync } from 'globby'
import { globSync } from 'tinyglobby'
import fs from 'node:fs'
import getStdin from 'get-stdin'
import sortPackageJson from './index.js'
Expand Down Expand Up @@ -44,7 +44,7 @@ function sortPackageJsonFile(file, reporter, isCheck) {
}

function sortPackageJsonFiles(patterns, options) {
const files = globbySync(patterns)
const files = globSync(patterns)
const reporter = new Reporter(files, options)
const { isCheck } = options

Expand Down
Loading

0 comments on commit 99a9760

Please sign in to comment.