meteor/meteor

View on GitHub
tools/cli/dev-bundle-bin-helpers.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function addWindowsVariables has 40 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function addWindowsVariables(devBundleDir, env) {
  // On Windows we provide a reliable version of python.exe for use by
  // node-gyp (the tool that rebuilds binary node modules). #WinPy
  env.PYTHON = env.PYTHON || path.join(
    devBundleDir, "python", "python.exe");
Severity: Minor
Found in tools/cli/dev-bundle-bin-helpers.js - About 1 hr to fix

    Function getEnv has 29 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    exports.getEnv = function (options) {
      var devBundle = options && options.devBundle;
      var devBundlePromise = typeof devBundle === "string"
        ? Promise.resolve(convertToOSPath(devBundle))
        : getDevBundle();
    Severity: Minor
    Found in tools/cli/dev-bundle-bin-helpers.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status