Skip to content

Commit

Permalink
fix cross-validate reporting output
Browse files Browse the repository at this point in the history
  • Loading branch information
harthur committed Sep 21, 2010
1 parent f2c5bb3 commit 5ca49ab
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions test/cvalidate/runcv.js
Expand Up @@ -57,10 +57,14 @@ function runTest(config) {
var report = {
stats: stats,
name: options.reportName,
timestamp: new Date()
timestamp: new Date(),
config: config
}
db.insert(report, function(err, res) {
sys.puts("saved report" + JSON.stringify(res));
if(err)
sys.puts("error sending report to " + option.report);
else
sys.puts("saved report " + options.report + "/" + res.id);
});
}
});
Expand Down

0 comments on commit 5ca49ab

Please sign in to comment.