FunnelEnvy/optimizely-cli

View on GitHub
lib/commands/push-variation.js

Summary

Maintainability
A
1 hr
Test Coverage

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

module.exports = function(folder) {
  //find the variation
  var varPath = path.resolve(process.cwd(), folder);
  var variation = new Variation({}, varPath);
  variation.loadFromFile();
Severity: Minor
Found in lib/commands/push-variation.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status