Skip to content

Commit 348919a

Browse files
author
Gregory
committed
Replace fs with fs/promises and glob with glob-promise
1 parent 5719ab9 commit 348919a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/reader.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
var Promise = require('./Promise');
22
var path = require('path');
33
var yaml = require('js-yaml');
4-
var objectAssign = require('object-assign');
5-
var glob = Promise.promisify(require('glob'));
6-
var fs = Promise.promisifyAll(require('fs'));
4+
var glob = require('glob-promise');
5+
var fs = require('fs').promises;
76
var logger = require('./logger');
87

98
var Reader = module.exports = function (options) {

0 commit comments

Comments
 (0)