@@ -7,7 +7,7 @@ import env from "#core/env";
77import File from "#core/file" ;
88import FileTree from "#core/file-tree" ;
99import { chmodSync , exists } from "#core/fs" ;
10- import glob from "#core/glob" ;
10+ import { globSync } from "#core/glob" ;
1111import GlobPatterns from "#core/glob/patterns" ;
1212import Semver from "#core/semver" ;
1313import SemverRange from "#core/semver/range" ;
@@ -197,7 +197,7 @@ export default class Package {
197197
198198 if ( ! subPackages ) break BREAK;
199199
200- for ( const pkg of glob ( subPackages , {
200+ for ( const pkg of globSync ( subPackages , {
201201 "cwd" : this . #root,
202202 "files" : false ,
203203 "directories" : true ,
@@ -502,7 +502,7 @@ export default class Package {
502502 if ( pkg . hasCliConfig ) {
503503
504504 // "test" script
505- if ( glob ( "tests/**/*.test.js" , { "cwd" : pkg . root } ) . length ) {
505+ if ( globSync ( "tests/**/*.test.js" , { "cwd" : pkg . root } ) . length ) {
506506 config . scripts ??= { } ;
507507 config . scripts . test = "node --test tests/**/*.test.js" ;
508508 }
@@ -1078,7 +1078,7 @@ export default class Package {
10781078 }
10791079
10801080 // github-actions
1081- if ( this . cliConfig ?. meta . dependabot [ "github-actions" ] ?. interval && glob ( ".github/workflows/*.*" , { "cwd" : this . root } ) . length ) {
1081+ if ( this . cliConfig ?. meta . dependabot [ "github-actions" ] ?. interval && globSync ( ".github/workflows/*.*" , { "cwd" : this . root } ) . length ) {
10821082 updates . set ( "github-actions" , {
10831083 "package-ecosystem" : "github-actions" ,
10841084 "directories" : [ "/" ] ,
0 commit comments