12345678910111213141516171819 |
- const { Plugin } = require('../../packages/@uppy/core')
- module.exports = class InvalidPluginWithoutType extends Plugin {
- constructor (uppy, opts) {
- super(uppy, opts)
- this.id = 'InvalidPluginWithoutType'
- this.name = this.constructor.name
- }
- run (results) {
- this.uppy.log({
- class: this.constructor.name,
- method: 'run',
- results,
- })
- return Promise.resolve('success')
- }
- }
|