mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-09 15:38:19 -07:00
Use const lib = require('../methods/lib')(); for fresh imports
This commit is contained in:
parent
7bfa40b1f9
commit
3042b35800
87 changed files with 87 additions and 87 deletions
|
|
@ -1,4 +1,4 @@
|
|||
const lib = require('../methods/library');
|
||||
const lib = require('../methods/lib')();
|
||||
|
||||
const details = () => ({
|
||||
id: 'Tdarr_Plugin_a9he_New_file_size_check',
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
const lib = require('../methods/library');
|
||||
const lib = require('../methods/lib')();
|
||||
|
||||
const details = () => ({
|
||||
id: 'Tdarr_Plugin_f001_Filter_Example',
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
const lib = require('../methods/library');
|
||||
const lib = require('../methods/lib')();
|
||||
|
||||
const details = () => ({
|
||||
id: 'Tdarr_Plugin_f002_Filter_Example',
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
/* eslint import/no-extraneous-dependencies: 0 */ // --> OFF
|
||||
/* eslint no-console: 0 */ // --> OFF
|
||||
|
||||
const lib = require('../methods/library');
|
||||
const lib = require('../methods/lib')();
|
||||
|
||||
// List any npm dependencies which the plugin needs, they will be auto installed when the plugin runs:
|
||||
module.exports.dependencies = [
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
/* eslint import/no-extraneous-dependencies: 0 */ // --> OFF
|
||||
/* eslint no-console: 0 */ // --> OFF
|
||||
|
||||
const lib = require('../methods/library');
|
||||
const lib = require('../methods/lib')();
|
||||
// List any npm dependencies which the plugin needs, they will be auto installed when the plugin runs:
|
||||
module.exports.dependencies = [
|
||||
'import-fresh',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue