Skip to content

Commit

Permalink
chore: update tinyglobby
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann committed Feb 20, 2025
1 parent c3b3ab0 commit 7b392c7
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) {

Check failure on line 90 in lib/build.js

View workflow job for this annotation

GitHub Actions / Lint JS

'||' should be placed at the end of the line
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 7b392c7

Please sign in to comment.