mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-09 15:38:19 -07:00
Corrected lint issues
This commit is contained in:
parent
f5055ac0cc
commit
8022d52a1c
1 changed files with 4 additions and 4 deletions
|
|
@ -41,15 +41,15 @@ module.exports.details = function details() {
|
|||
module.exports.plugin = function plugin(file, librarySettings, inputs) {
|
||||
// eslint-disable-next-line global-require,import/no-unresolved
|
||||
const request = require('request');
|
||||
|
||||
// Set up required variables.
|
||||
const ADDRESS = inputs.autoscan_address;
|
||||
const PORT = inputs.autoscan_port;
|
||||
|
||||
let file2 = '';
|
||||
|
||||
let filepath = '';
|
||||
const response = {};
|
||||
filepath = `${file.file}`;
|
||||
var file2 = filepath.split("/").slice(0, -1).join("/")+"/";
|
||||
file2 = `${filepath.split('/').slice(0, -1).join('/')}/`;
|
||||
|
||||
// Check if all inputs have been configured. If they haven't then exit plugin.
|
||||
if (
|
||||
|
|
@ -86,4 +86,4 @@ module.exports.plugin = function plugin(file, librarySettings, inputs) {
|
|||
console.log(request.post);
|
||||
|
||||
return undefined;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue