Rename healthcheck to preflight
This commit is contained in:
parent
8a7abba486
commit
956f858620
@ -1,7 +1,7 @@
|
||||
const ethers = require('ethers');
|
||||
const RSVP = require('rsvp');
|
||||
|
||||
const Healthcheck = require('./utils/healthcheck');
|
||||
const Preflight = require('./utils/preflight');
|
||||
|
||||
const ABIS = {
|
||||
Contributors: require('./abis/Contributors.json'),
|
||||
@ -97,8 +97,8 @@ class Kredits {
|
||||
return this.contracts[name];
|
||||
}
|
||||
|
||||
healthcheck() {
|
||||
return new Healthcheck(this).check();
|
||||
preflightChecks() {
|
||||
return new Preflight(this).check();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
class Healthcheck {
|
||||
class Preflight {
|
||||
constructor(kredits) {
|
||||
this.kredits = kredits;
|
||||
}
|
||||
@ -25,4 +25,4 @@ class Healthcheck {
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = Healthcheck;
|
||||
module.exports = Preflight;
|
Loading…
x
Reference in New Issue
Block a user