File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
packages/gatsby/src/commands Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,10 @@ interface IBuildArgs extends IProgram {
6161}
6262
6363module . exports = async function build ( program : IBuildArgs ) : Promise < void > {
64- report . setVerbose ( isTruthy ( process . env . VERBOSE ) || program . verbose )
64+ if ( isTruthy ( process . env . VERBOSE ) ) {
65+ program . verbose = true
66+ }
67+ report . setVerbose ( program . verbose )
6568
6669 if ( program . profile ) {
6770 report . warn (
Original file line number Diff line number Diff line change @@ -81,7 +81,10 @@ const openDebuggerPort = (debugInfo: IDebugInfo): void => {
8181}
8282
8383module . exports = async ( program : IDevelopArgs ) : Promise < void > => {
84- reporter . setVerbose ( isTruthy ( process . env . VERBOSE ) || program . verbose )
84+ if ( isTruthy ( process . env . VERBOSE ) ) {
85+ program . verbose = true
86+ }
87+ reporter . setVerbose ( program . verbose )
8588
8689 if ( program . debugInfo ) {
8790 openDebuggerPort ( program . debugInfo )
You can’t perform that action at this time.
0 commit comments