Skip to content

Commit 9bb2797

Browse files
committed
Fix compatibility with node 10
1 parent 19ae885 commit 9bb2797

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/fileRotator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const zlib = require('zlib');
22
const {pipeline} = require('stream');
33
const {promisify} = require('util');
44
const {createReadStream, createWriteStream} = require('fs');
5-
const fs = require('fs/promises');
5+
const fs = require('fs').promises;
66
const pipe = promisify(pipeline);
77
const path = require('path');
88
const {processSize} = require('../util/configProcessors');

0 commit comments

Comments
 (0)