From d24d0c5b6ce9f1da0043bebaf519b50b04507797 Mon Sep 17 00:00:00 2001 From: Oj Date: Mon, 24 May 2021 17:47:24 +0100 Subject: [PATCH] [Scripts > PCCompatCheck] Add imports logging when no alias --- scripts/pccompatCheck.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/pccompatCheck.js b/scripts/pccompatCheck.js index bd96267..fd34835 100644 --- a/scripts/pccompatCheck.js +++ b/scripts/pccompatCheck.js @@ -47,7 +47,7 @@ for (const jsFile of glob.sync(`${cloneDir}/**/*.js`).concat(glob.sync(`${cloneD const aliasPath = alias[requirePath]; if (!aliasPath) { - console.log('No alias', requirePath); + console.log('No alias', requirePath, '(', imports, ')'); continue; } @@ -79,4 +79,4 @@ for (const jsFile of glob.sync(`${cloneDir}/**/*.js`).concat(glob.sync(`${cloneD } console.log(); -} \ No newline at end of file +}