From d0678fb92659963ae9cbe542309f561e81a916cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=98=BF=E6=A3=AE?= Date: Fri, 31 Mar 2023 16:31:20 +0800 Subject: [PATCH] style: prettier code --- legacy/bin/cli.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legacy/bin/cli.js b/legacy/bin/cli.js index 6048e2de..786757c3 100755 --- a/legacy/bin/cli.js +++ b/legacy/bin/cli.js @@ -37,7 +37,7 @@ async function main() { 'Unique name for the conversation' ) .action(async (prompt, options) => { - const apiOrg = options.apiOrg|| process.env.OPENAI_API_ORG + const apiOrg = options.apiOrg || process.env.OPENAI_API_ORG const apiKey = options.apiKey || process.env.OPENAI_API_KEY if (!apiKey) { console.error('error: either set OPENAI_API_KEY or use --apiKey\n')