From 81ddf9b700bc48a1f8e472209f080f9c1d9a9b09 Mon Sep 17 00:00:00 2001 From: Piotr Russ Date: Wed, 18 Nov 2020 23:26:45 +0100 Subject: rm node_modules --- .../copy-webpack-plugin/dist/utils/promisify.js | 30 ---------------------- 1 file changed, 30 deletions(-) delete mode 100644 node_modules/copy-webpack-plugin/dist/utils/promisify.js (limited to 'node_modules/copy-webpack-plugin/dist/utils/promisify.js') 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 -- cgit v1.2.3