lint fixes

This commit is contained in:
HaveAGitGat 2020-12-19 10:03:49 +01:00
parent b13ae8cc29
commit f0109f2bfe
9 changed files with 40 additions and 10 deletions

View file

@ -57,6 +57,7 @@ function plugin(file, librarySettings, inputs) {
// Check if file is a video. If it isn't then exit plugin.
if (file.fileMedium !== 'video') {
// eslint-disable-next-line no-console
console.log('File is not video');
response.infoLog += '☒File is not video \n';
response.processFile = false;
@ -65,7 +66,8 @@ function plugin(file, librarySettings, inputs) {
// Check if inputs.language has been configured. If it hasn't then exit plugin.
if (inputs.language === '') {
response.infoLog += '☒Language/s to keep have not been configured, please configure required options. Skipping this plugin. \n';
response.infoLog += '☒Language/s to keep have not been configured, '
+ 'please configure required options. Skipping this plugin. \n';
response.processFile = false;
return response;
}