Comparing version 1.0.1 to 1.0.2
@@ -7,3 +7,4 @@ const Path = require('path'); | ||
var jsonPath = Path.join(process.cwd(), 'cc.json'); | ||
var cmd = './node_modules/complexity-report/src/index.js -l -w -f json -e -x node_modules -o ' + jsonPath + ' ' + path.join(' '); | ||
var crPath = Path.resolve(process.execPath, '../..', 'lib/node_modules/complan/node_modules/.bin/cr'); | ||
var cmd = crPath + ' -l -w -f json -e -x node_modules -o ' + jsonPath + ' ' + path.join(' '); | ||
return new Promise(function (resolve, reject) { | ||
@@ -10,0 +11,0 @@ Exec(cmd , function (err, stdout,stderr) { |
{ | ||
"name": "complan", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "COMPLexity ANalyzer Tool For Javascript", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
1500208
12
37506
1