Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakub-Vacek committed Nov 16, 2023
1 parent 03668fb commit 9270b19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/prepare.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ export async function writeProviderJson(
{ logger, userError }: { logger: ILogger; userError: UserError }
): Promise<string> {
// 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);
}

Expand Down

0 comments on commit 9270b19

Please sign in to comment.