File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -62,8 +62,7 @@ export async function run(argv?: string[]) {
6262 . option ( "--func-args <funcArgs>" , "pass additional arguments to the func start command" )
6363
6464 . action ( async ( context : string = `.${ path . sep } ` , options : SWACLIConfig ) => {
65- const fileOptions = await getFileOptions ( context , cli . opts ( ) . config ) ;
66- const verbose = fileOptions . verbose ;
65+ const verbose = cli . opts ( ) . verbose ;
6766
6867 // make sure the start command gets the right verbosity level
6968 process . env . SWA_CLI_DEBUG = verbose ;
@@ -72,10 +71,12 @@ export async function run(argv?: string[]) {
7271 // propagate debugging level to other tools using the DEBUG environment variable
7372 process . env . DEBUG = "*" ;
7473 }
74+ const fileOptions = await getFileOptions ( context , cli . opts ( ) . config ) ;
7575
7676 options = {
7777 ...options ,
7878 ...fileOptions ,
79+ verbose,
7980 } ;
8081
8182 if ( cli . opts ( ) . printConfig ) {
You can’t perform that action at this time.
0 commit comments