style: fix linting issues in webpack plugin
This commit is contained in:
parent
bfb50bf608
commit
3b9fafc53e
|
@ -48,7 +48,7 @@ module.exports = class FilerWebpackPlugin {
|
|||
}
|
||||
);
|
||||
},
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
resolveFsProvider(resolveData) {
|
||||
|
@ -67,9 +67,9 @@ module.exports = class FilerWebpackPlugin {
|
|||
break;
|
||||
default:
|
||||
throw new Error([
|
||||
`Invalid option for fsProvider.`,
|
||||
`fsProvider must be one of 'default', 'indexeddb', 'memory' or 'custom'.`,
|
||||
`If using a custom fsProvider, you must also provide the fsProviderDir option.`
|
||||
'Invalid option for fsProvider.',
|
||||
'fsProvider must be one of \'default\', \'indexeddb\', \'memory\' or \'custom\'.',
|
||||
'If using a custom fsProvider, you must also provide the fsProviderDir option.'
|
||||
].join(' '));
|
||||
}
|
||||
}
|
||||
|
@ -85,4 +85,4 @@ module.exports = class FilerWebpackPlugin {
|
|||
applyBufferShim(resolveData) {
|
||||
resolveData.request = path.join(this.options.shimsDir, 'buffer.js');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue