File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @thecodeorigin/nuxt" ,
33 "type" : " module" ,
4- "version" : " 2.7.2 " ,
4+ "version" : " 2.7.3 " ,
55 "publishConfig" : {
66 "registry" : " https://registry.npmjs.org" ,
77 "access" : " public"
Original file line number Diff line number Diff line change @@ -36,9 +36,7 @@ export class Logger {
3636
3737 constructor ( logsDirOpt ?: string ) {
3838 this . logsDir = logsDirOpt || join ( process . cwd ( ) , 'logs' )
39- this . ensureLogDirectoryExistsSync ( )
4039 this . initS3Config ( )
41- this . initLogLevels ( )
4240
4341 const winstonLogLevel = this . determineWinstonLogLevel ( )
4442
@@ -173,6 +171,8 @@ export class Logger {
173171 region,
174172 credentials : { accessKeyId, secretAccessKey } ,
175173 } )
174+ this . ensureLogDirectoryExistsSync ( )
175+ this . initLogLevels ( )
176176 console . info ( `Logger: S3 uploads enabled to bucket ${ bucket } in region ${ region } .` )
177177 }
178178 else {
You can’t perform that action at this time.
0 commit comments