src/actions/clone.js
Function cloneFile
has 61 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
async function cloneFile(lock, ctx, params) {
const { uploadId, username, meta } = params;
const { redis } = ctx;
const uploadKey = FILES_DATA_INDEX_KEY(uploadId);
const uploadData = await Promise
Parsing error: The keyword 'const' is reserved Open
Open
const { ActionTransport } = require('@microfleet/plugin-router');
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/