Comparing version 0.0.3 to 0.0.4
@@ -16,2 +16,10 @@ #!/usr/bin/env node | ||
program.command('validate') | ||
.action(function() { | ||
var builder = new Builder(); | ||
builder.buildProject(process.cwd()).then(function () { | ||
builder.getErrorLog().report(); | ||
}).done(); | ||
}); | ||
program.parse(process.argv); |
@@ -7,3 +7,3 @@ var JsClass = require('../../object-model/class'); | ||
InheritProvider.prototype = { | ||
process: function(file) { | ||
process: function(file, errorLog) { | ||
var classes = []; | ||
@@ -66,4 +66,2 @@ var inheritMethodName = 'inherit'; | ||
); | ||
// method.setStatic(isStatic); | ||
// classObj.addMethod(method); | ||
if (isStatic) { | ||
@@ -79,2 +77,4 @@ classObj.addStaticMember(method); | ||
} | ||
} else { | ||
errorLog.log('Could not extract class name at ' + file.getFilename()); | ||
} | ||
@@ -81,0 +81,0 @@ } |
{ | ||
"author": "Marat Dulin", | ||
"name": "analyze", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"engines": { | ||
@@ -6,0 +6,0 @@ "node": "0.10" |
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
936
1
5
34008
23