File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ import { handleTranslations } from './commands/translations';
2525import { handleEject } from './commands/eject' ;
2626import { PRODUCT_PLANS } from './commands/preview-project/constants' ;
2727import { commonPushHandler } from './commands/push' ;
28+ import { handleRun , handleGenerate } from '@redocly/respect-core' ;
2829
2930import type { Arguments } from 'yargs' ;
3031import type { OutputFormat , RuleSeverity } from '@redocly/openapi-core' ;
@@ -932,9 +933,8 @@ yargs
932933 } ,
933934 } ) ;
934935 } ,
935- async ( argv ) => {
936+ ( argv ) => {
936937 process . env . REDOCLY_CLI_COMMAND = 'respect' ;
937- const { handleRun } = await import ( '@redocly/respect-core' ) ;
938938 commandWrapper ( handleRun ) ( argv ) ;
939939 }
940940 )
@@ -961,9 +961,8 @@ yargs
961961 } ,
962962 } ) ;
963963 } ,
964- async ( argv ) => {
964+ ( argv ) => {
965965 process . env . REDOCLY_CLI_COMMAND = 'generate-arazzo' ;
966- const { handleGenerate } = await import ( '@redocly/respect-core' ) ;
967966 commandWrapper (
968967 handleGenerate as ( wrapperArgs : CommandArgs < CommandOptions > ) => Promise < unknown >
969968 ) ( argv ) ;
You can’t perform that action at this time.
0 commit comments