From 9043f664c7ac9396ed348d9a8a33cb25b9a6eea8 Mon Sep 17 00:00:00 2001 From: Augustus Chang Date: Thu, 1 Aug 2024 10:56:06 -0400 Subject: [PATCH] fix linting --- .../starknet-gauntlet-ocr2/src/commands/ocr2/setConfig.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages-ts/starknet-gauntlet-ocr2/src/commands/ocr2/setConfig.ts b/packages-ts/starknet-gauntlet-ocr2/src/commands/ocr2/setConfig.ts index d2410451e..8ee960375 100644 --- a/packages-ts/starknet-gauntlet-ocr2/src/commands/ocr2/setConfig.ts +++ b/packages-ts/starknet-gauntlet-ocr2/src/commands/ocr2/setConfig.ts @@ -98,7 +98,6 @@ const makeUserInput = async (flags, args, env): Promise => { } export const validateSecretsNotEmpty = async (input) => { - if (input.secret === undefined) { throw new Error(`A secret must be provided (--secret flag or SECRET environment variable)`) }