We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2762f84 commit fcc42ebCopy full SHA for fcc42eb
daily-rotate-file.js
@@ -92,7 +92,7 @@ var DailyRotateFile = function (options) {
92
create_symlink: options.createSymlink ? options.createSymlink : false,
93
symlink_name: options.symlinkName ? options.symlinkName : 'current.log',
94
watch_log: options.watchLog ? options.watchLog : false,
95
- audit_hash_type: options.auditHashType || 'sha256'
+ audit_hash_type: options.auditHashType ? options.auditHashType : 'sha256'
96
});
97
98
this.logStream.on('new', function (newFile) {
0 commit comments