@@ -11,7 +11,7 @@ import { PrincipalFactory } from './PrincipalFactory.js';
11
11
import { ProjectPrincipal } from './ProjectPrincipal.js' ;
12
12
import { debugLogObject , debugLogArray , debugLog , exportLookupLog } from './util/debug.js' ;
13
13
import { _glob , negate } from './util/glob.js' ;
14
- import { isGitIgnoredFn } from './util/globby.js' ;
14
+ import { getGitIgnoredFn } from './util/globby.js' ;
15
15
import {
16
16
getEntryPathFromManifest ,
17
17
getPackageNameFromFilePath ,
@@ -61,7 +61,7 @@ export const main = async (unresolvedConfiguration: CommandLineOptions) => {
61
61
const factory = new PrincipalFactory ( ) ;
62
62
const streamer = new ConsoleStreamer ( { isEnabled : isShowProgress } ) ;
63
63
64
- const isGitIgnored = await isGitIgnoredFn ( { cwd, gitignore } ) ;
64
+ const isGitIgnored = await getGitIgnoredFn ( { cwd, gitignore } ) ;
65
65
66
66
streamer . cast ( 'Reading workspace configuration(s)...' ) ;
67
67
@@ -320,7 +320,7 @@ export const main = async (unresolvedConfiguration: CommandLineOptions) => {
320
320
const workspace = chief . findWorkspaceByFilePath ( specifierFilePath ) ;
321
321
if ( workspace ) {
322
322
const principal = factory . getPrincipalByPackageName ( workspace . pkgName ) ;
323
- if ( principal && ! principal . isGitIgnored ( specifierFilePath ) ) {
323
+ if ( principal && ! isGitIgnored ( specifierFilePath ) ) {
324
324
// Defer to outside loop to prevent potential duplicate analysis and/or infinite recursion
325
325
specifierFilePaths . add ( specifierFilePath ) ;
326
326
}
0 commit comments