summaryrefslogtreecommitdiff
path: root/together/node_modules/formidable/src/parsers/Dummy.js
diff options
context:
space:
mode:
Diffstat (limited to 'together/node_modules/formidable/src/parsers/Dummy.js')
-rw-r--r--together/node_modules/formidable/src/parsers/Dummy.js21
1 files changed, 0 insertions, 21 deletions
diff --git a/together/node_modules/formidable/src/parsers/Dummy.js b/together/node_modules/formidable/src/parsers/Dummy.js
deleted file mode 100644
index 6340959..0000000
--- a/together/node_modules/formidable/src/parsers/Dummy.js
+++ /dev/null
@@ -1,21 +0,0 @@
-/* eslint-disable no-underscore-dangle */
-
-'use strict';
-
-const { Transform } = require('stream');
-
-class DummyParser extends Transform {
- constructor(incomingForm, options = {}) {
- super();
- this.globalOptions = { ...options };
- this.incomingForm = incomingForm;
- }
-
- _flush(callback) {
- this.incomingForm.ended = true;
- this.incomingForm._maybeEnd();
- callback();
- }
-}
-
-module.exports = DummyParser;