diff options
Diffstat (limited to 'node_modules/copy-webpack-plugin/dist/utils/promisify.js')
-rw-r--r-- | node_modules/copy-webpack-plugin/dist/utils/promisify.js | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/node_modules/copy-webpack-plugin/dist/utils/promisify.js b/node_modules/copy-webpack-plugin/dist/utils/promisify.js deleted file mode 100644 index 0cd0f67..0000000 --- a/node_modules/copy-webpack-plugin/dist/utils/promisify.js +++ /dev/null @@ -1,30 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.readFile = exports.stat = void 0; - -const stat = (inputFileSystem, path) => new Promise((resolve, reject) => { - inputFileSystem.stat(path, (err, stats) => { - if (err) { - reject(err); - } - - resolve(stats); - }); -}); - -exports.stat = stat; - -const readFile = (inputFileSystem, path) => new Promise((resolve, reject) => { - inputFileSystem.readFile(path, (err, stats) => { - if (err) { - reject(err); - } - - resolve(stats); - }); -}); - -exports.readFile = readFile;
\ No newline at end of file |