From 02866f4e69675a6ecb5b7f2b5f9e9e6dbb5666f0 Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Sun, 1 Oct 2023 16:07:00 +0300 Subject: [PATCH] feat!: Make 'fs' required in 'resolveConfig' function --- packages/cli/src/config/projects-config.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/cli/src/config/projects-config.ts b/packages/cli/src/config/projects-config.ts index 13a493390..9cea0cfdb 100644 --- a/packages/cli/src/config/projects-config.ts +++ b/packages/cli/src/config/projects-config.ts @@ -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); }