mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-09 15:38:19 -07:00
Fix lint issues
This commit is contained in:
parent
80f02bf810
commit
a7d262f39c
4 changed files with 6 additions and 5 deletions
|
|
@ -36,7 +36,8 @@ var details = function () { return ({
|
|||
inputUI: {
|
||||
type: 'directory',
|
||||
},
|
||||
tooltip: 'Specify directory to check. Leave blank to use working directory. Put below input plugin to check original file directory.',
|
||||
tooltip: 'Specify directory to check. Leave blank to use working directory.'
|
||||
+ ' Put below Input File plugin to check original file directory.',
|
||||
},
|
||||
],
|
||||
outputs: [
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@ var plugin = function (args) { return __awaiter(void 0, void 0, void 0, function
|
|||
fileName = (0, fileUtils_1.getFileName)(args.inputFileObj._id);
|
||||
container = (0, fileUtils_1.getContainer)(args.inputFileObj._id);
|
||||
outputDir = (0, fileUtils_1.getFileAbosluteDir)(args.originalLibraryFile._id);
|
||||
ouputFilePath = outputDir + '/' + fileName + '.' + container;
|
||||
ouputFilePath = "".concat(outputDir, "/").concat(fileName, ".").concat(container);
|
||||
return [4 /*yield*/, (0, fileUtils_1.moveFileAndValidate)({
|
||||
inputPath: args.inputFileObj._id,
|
||||
outputPath: ouputFilePath,
|
||||
|
|
|
|||
|
|
@ -36,7 +36,8 @@ const details = (): IpluginDetails => ({
|
|||
inputUI: {
|
||||
type: 'directory',
|
||||
},
|
||||
tooltip: 'Specify directory to check. Leave blank to use working directory. Put below input plugin to check original file directory.',
|
||||
tooltip: 'Specify directory to check. Leave blank to use working directory.'
|
||||
+ ' Put below Input File plugin to check original file directory.',
|
||||
},
|
||||
],
|
||||
outputs: [
|
||||
|
|
|
|||
|
|
@ -1,12 +1,11 @@
|
|||
import {
|
||||
getContainer, getFileAbosluteDir, getFileName, getSubStem, moveFileAndValidate,
|
||||
getContainer, getFileAbosluteDir, getFileName, moveFileAndValidate,
|
||||
} from '../../../../FlowHelpers/1.0.0/fileUtils';
|
||||
import {
|
||||
IpluginDetails,
|
||||
IpluginInputArgs,
|
||||
IpluginOutputArgs,
|
||||
} from '../../../../FlowHelpers/1.0.0/interfaces/interfaces';
|
||||
import normJoinPath from '../../../../FlowHelpers/1.0.0/normJoinPath';
|
||||
|
||||
/* eslint no-plusplus: ["error", { "allowForLoopAfterthoughts": true }] */
|
||||
const details = ():IpluginDetails => ({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue