diff options
Diffstat (limited to 'node_modules/snekfetch/sync.js')
| -rw-r--r-- | node_modules/snekfetch/sync.js | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/node_modules/snekfetch/sync.js b/node_modules/snekfetch/sync.js deleted file mode 100644 index 5531136..0000000 --- a/node_modules/snekfetch/sync.js +++ /dev/null @@ -1,15 +0,0 @@ -try { - var syncify = require('@snek/syncify'); -} catch (err) { - throw new Error('Using sync requires @snek/syncify (npm install @snek/syncify)'); -} - -const Snekfetch = require('.'); - -class SnekfetchSync extends Snekfetch { - end() { - return syncify(super.end()); - } -} - -module.exports = SnekfetchSync; |