Skip to content

Commit

Permalink
feat!: Make 'fs' required in 'resolveConfig' function
Browse files Browse the repository at this point in the history
  • Loading branch information
idoros committed Oct 1, 2023
1 parent 2d2e5b4 commit 02866f4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/cli/src/config/projects-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ export async function projectsConfig(
return projects;
}

// todo: make fs not optional next major version
export function resolveConfig(context: string, request?: string, fs?: IFileSystem) {
export function resolveConfig(context: string, fs: IFileSystem, request?: string) {
return request ? requireConfigFile(request, context, fs) : resolveConfigFile(context, fs);
}

Expand Down

0 comments on commit 02866f4

Please sign in to comment.