style: fix linting issues in webpack plugin

This commit is contained in:
Ben Heidemann 2021-04-04 02:17:01 +01:00 committed by David Humphrey
parent bfb50bf608
commit 3b9fafc53e
4 changed files with 132 additions and 132 deletions

View File

@ -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');
}
}
};