From 18fffd23de1e6d2244d9330e5d15c7875512af13 Mon Sep 17 00:00:00 2001 From: Emre Unal Date: Fri, 8 Apr 2022 19:09:10 +0300 Subject: [PATCH] Remove warning --- index.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/index.js b/index.js index 292805f..afa440d 100644 --- a/index.js +++ b/index.js @@ -12,9 +12,7 @@ module.exports = { const emberPosition = process.argv.findIndex(arg => arg.endsWith('/ember')); const ranWithInit = process.argv[emberPosition + 1] === 'init'; - if (ranWithInit) { - process.emitWarning('Skipped dependency checker…'); - } else { + if (!ranWithInit) { const reporter = new Reporter(); const dependencyChecker = new DependencyChecker(this.project, reporter); dependencyChecker.checkDependencies();