File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ export const consoleHack = (): void => {
2929 ...optionalParams : any [ ]
3030 ) : void => {
3131 if ( getCurrentContext ( ) === null ) {
32- return console . originDebug ( message , optionalParams ) ;
32+ return console . originDebug ( message , ... optionalParams ) ;
3333 }
3434
3535 return logger . writeLog (
@@ -88,7 +88,7 @@ export const consoleHack = (): void => {
8888 ...optionalParams : any [ ]
8989 ) : void => {
9090 if ( getCurrentContext ( ) === null ) {
91- return console . originWarn ( message , optionalParams ) ;
91+ return console . originWarn ( message , ... optionalParams ) ;
9292 }
9393
9494 return logger . writeLog (
@@ -102,7 +102,7 @@ export const consoleHack = (): void => {
102102 ...optionalParams : any [ ]
103103 ) : void => {
104104 if ( getCurrentContext ( ) === null ) {
105- return console . originError ( message , optionalParams ) ;
105+ return console . originError ( message , ... optionalParams ) ;
106106 }
107107
108108 return logger . writeLog (
You can’t perform that action at this time.
0 commit comments