File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import type { CommitaConfig } from '@/config/config.types.ts';
33import { FileGrouper } from '@/git/file-grouper.ts' ;
44import type { FileChange } from '@/git/git.service.ts' ;
55import { GitService } from '@/git/git.service.ts' ;
6+ import { ProjectDetector } from '@/git/project-detector.ts' ;
67import { PatternMatcher } from '@/utils/pattern-matcher.ts' ;
78import chalk from 'chalk' ;
89
@@ -31,6 +32,9 @@ export class CommitHandler {
3132
3233 await this . gitService . init ( ) ;
3334
35+ const boundaries = ProjectDetector . detect ( this . gitService . getRootDir ( ) ) ;
36+ this . fileGrouper = new FileGrouper ( boundaries ) ;
37+
3438 const patternMatcher = new PatternMatcher (
3539 PatternMatcher . parsePatterns ( options . ignore )
3640 ) ;
You can’t perform that action at this time.
0 commit comments