From 6493adc2d26aa3f5080d9433291dc2a0752a4683 Mon Sep 17 00:00:00 2001 From: Blaine Bublitz Date: Tue, 12 Mar 2024 21:14:25 -0700 Subject: [PATCH] debug --- index.js | 4 +++- test/index.js | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index f2a7c45..4815428 100644 --- a/index.js +++ b/index.js @@ -148,8 +148,10 @@ Liftoff.prototype.buildEnvironment = function (opts) { var configPathOverride = arrayFind(Object.keys(config), function (key) { var cfg = config[key]; + console.log(cfg); if (Object.prototype.hasOwnProperty.call(cfg, this.configName)) { - return cfg[this.configName] + console.log(cfg[this.configName]); + return cfg[this.configName]; } }); diff --git a/test/index.js b/test/index.js index f9a8b5a..be41e7a 100644 --- a/test/index.js +++ b/test/index.js @@ -571,7 +571,7 @@ describe('Liftoff', function () { ); }); - it('overrides the configPath if the configName key exists in the config', function (done) { + it.only('overrides the configPath if the configName key exists in the config', function (done) { var app = new Liftoff({ name: 'myapp', configFiles: {