mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-15 02:05:54 -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) {
|
module.exports.plugin = function plugin(file, librarySettings, inputs) {
|
||||||
// eslint-disable-next-line global-require,import/no-unresolved
|
// eslint-disable-next-line global-require,import/no-unresolved
|
||||||
const request = require('request');
|
const request = require('request');
|
||||||
|
|
||||||
// Set up required variables.
|
// Set up required variables.
|
||||||
const ADDRESS = inputs.autoscan_address;
|
const ADDRESS = inputs.autoscan_address;
|
||||||
const PORT = inputs.autoscan_port;
|
const PORT = inputs.autoscan_port;
|
||||||
|
let file2 = '';
|
||||||
|
|
||||||
let filepath = '';
|
let filepath = '';
|
||||||
const response = {};
|
const response = {};
|
||||||
filepath = `${file.file}`;
|
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.
|
// Check if all inputs have been configured. If they haven't then exit plugin.
|
||||||
if (
|
if (
|
||||||
|
|
@ -86,4 +86,4 @@ module.exports.plugin = function plugin(file, librarySettings, inputs) {
|
||||||
console.log(request.post);
|
console.log(request.post);
|
||||||
|
|
||||||
return undefined;
|
return undefined;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue