Closed JoergFiedler closed 8 years ago
Hi,
running node with --use-strict I get the following error.
--use-strict
./node_modules/express-winston/node_modules/winston/lib/winston/common.js:367 fs.open(options.file, 'a+', 0644, function(err, fd) { ^^^^ SyntaxError: Octal literals are not allowed in strict mode
This probably happens because of an outdated version of winston.
winston
Could you please a look at this?
Thanks,
Nice catch! Fixed in 1.4.2.
I'll do the work (and the breaking version change) to upgrade winston 2 later. Thankfully, upgrading to winston 1.1 was enough to fix the core issue here.
Thank you so much.
Hi,
running node with
--use-strict
I get the following error.This probably happens because of an outdated version of
winston
.Could you please a look at this?
Thanks,