mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-09 07:29:04 -07:00
fix
This commit is contained in:
parent
653ba069dc
commit
1cf6e0f193
2 changed files with 1 additions and 2 deletions
|
|
@ -37,7 +37,7 @@ const details = () => {
|
|||
}
|
||||
|
||||
// eslint-disable-next-line no-unused-vars
|
||||
const plugin = (file, librarySettings, inputs, otherArguments)a => {
|
||||
const plugin = (file, librarySettings, inputs, otherArguments) => {
|
||||
// eslint-disable-next-line no-unused-vars,no-param-reassign
|
||||
inputs = loadDefaultValues(inputs, details);
|
||||
if (inputs.bitrate == "" || inputs.bitrate == "undefined") {
|
||||
|
|
|
|||
|
|
@ -43,7 +43,6 @@ for (let i = 0; i < files.length; i += 1) {
|
|||
&& !read.includes(asyncText)
|
||||
) {
|
||||
console.log(`Plugin error: './Community/${files[i]}' does not contain ${syncText} or ${asyncText}`);
|
||||
console.log(`Plugin 'plugin' syntax is wrong './Community/${files[i]}'`);
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue