Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
23e2a0f7a7 | |||
bc6715e4d2 |
4
index.js
4
index.js
@ -15,11 +15,11 @@ var CheckStorage = (function () {
|
||||
this.checks.push(localCheck);
|
||||
};
|
||||
CheckStorage.prototype.print = function () {
|
||||
var localTable = beautylog.table.new("checks");
|
||||
for (var check in this.checks) {
|
||||
var localTable = beautylog.table.new("checks");
|
||||
localTable.push([this.checks[check].name, this.checks[check].result]);
|
||||
localTable.print();
|
||||
}
|
||||
localTable.print();
|
||||
};
|
||||
return CheckStorage;
|
||||
})();
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "smartcheck",
|
||||
"version": "0.0.1",
|
||||
"version": "0.0.2",
|
||||
"description": "Make sure gulp and gulp-taypescript from npm are available. Then run the gulpfile in this directory.",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
@ -18,10 +18,10 @@ class CheckStorage {
|
||||
this.checks.push(localCheck);
|
||||
}
|
||||
print() {
|
||||
var localTable = beautylog.table.new("checks");
|
||||
for (var check in this.checks){
|
||||
var localTable = beautylog.table.new("checks");
|
||||
localTable.push([this.checks[check].name,this.checks[check].result]);
|
||||
localTable.print();
|
||||
}
|
||||
localTable.print();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user