zordius/webtasks

View on GitHub
data/getProduct.js

Summary

Maintainability
A
1 hr
Test Coverage

Function exports has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = function (product_id) {
    // example: input validation
console.log('product id: ' + product_id);
    if (!product_id) {
        return this.task();
Severity: Minor
Found in data/getProduct.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status