From 9270b198fea740c044ee0cc3aa6ed5644b0a69f7 Mon Sep 17 00:00:00 2001 From: Jakub Vacek Date: Thu, 16 Nov 2023 10:53:20 +0100 Subject: [PATCH] chore: lint --- src/commands/prepare.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/prepare.ts b/src/commands/prepare.ts index 368df4cc..10f514aa 100644 --- a/src/commands/prepare.ts +++ b/src/commands/prepare.ts @@ -203,7 +203,7 @@ export async function writeProviderJson( { logger, userError }: { logger: ILogger; userError: UserError } ): Promise { // TODO: force flag - if ((await exists(buildProviderPath(providerJson.name))) && !options?.force) { + if ((await exists(buildProviderPath(providerJson.name))) && options?.force !== true) { throw userError(`Provider ${providerJson.name} already exists.`, 1); }