Skip to content

Commit

Permalink
chore: update tinyglobby (#3136)
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann authored Feb 20, 2025
1 parent c3b3ab0 commit b21cf87
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions lib/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,10 @@ async function build (gyp, argv) {
*/

async function findSolutionFile () {
const files = await glob('build/*.sln')
const files = await glob('build/*.sln', { expandDirectories: false })
if (files.length === 0) {
if (gracefulFs.existsSync('build/Makefile') || (await glob('build/*.mk')).length !== 0) {
if (gracefulFs.existsSync('build/Makefile') ||
(await glob('build/*.mk', { expandDirectories: false })).length !== 0) {
command = makeCommand
await doWhich(false)
return
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"proc-log": "^5.0.0",
"semver": "^7.3.5",
"tar": "^7.4.3",
"tinyglobby": "^0.2.11",
"tinyglobby": "^0.2.12",
"which": "^5.0.0"
},
"engines": {
Expand Down

0 comments on commit b21cf87

Please sign in to comment.