From 5215b600210886401f97949e080d318b983e07e0 Mon Sep 17 00:00:00 2001 From: bumi Date: Thu, 7 Jun 2018 16:32:18 +0200 Subject: [PATCH] Naming is hard :D --- lib/kredits.js | 4 ++-- lib/utils/{preflight_checker.js => preflight.js} | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) rename lib/utils/{preflight_checker.js => preflight.js} (94%) diff --git a/lib/kredits.js b/lib/kredits.js index 05d924b..9300179 100644 --- a/lib/kredits.js +++ b/lib/kredits.js @@ -1,7 +1,7 @@ const ethers = require('ethers'); const RSVP = require('rsvp'); -const PreflightChecker = require('./utils/preflight_checker'); +const Preflight = require('./utils/preflight'); const ABIS = { Contributors: require('./abis/Contributors.json'), @@ -98,7 +98,7 @@ class Kredits { } preflightChecks() { - return new PreflightChecker(this).check(); + return new Preflight(this).check(); } } diff --git a/lib/utils/preflight_checker.js b/lib/utils/preflight.js similarity index 94% rename from lib/utils/preflight_checker.js rename to lib/utils/preflight.js index 5268446..aef3b64 100644 --- a/lib/utils/preflight_checker.js +++ b/lib/utils/preflight.js @@ -1,4 +1,4 @@ -class PreflightChecker { +class Preflight { constructor(kredits) { this.kredits = kredits; } @@ -25,4 +25,4 @@ class PreflightChecker { } } -module.exports = PreflightChecker; +module.exports = Preflight;