From 1a994fc6a71ebb21f5e45b37ec7e1f93593a91ce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Pawe=C5=82=20Smyrek?=
Date: Wed, 21 Oct 2020 12:16:38 +0200
Subject: [PATCH] Improve self import linter error mesage
---
packages/ckeditor5-dev-tests/bin/check-dependencies.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/packages/ckeditor5-dev-tests/bin/check-dependencies.js b/packages/ckeditor5-dev-tests/bin/check-dependencies.js
index e89ac6428..9dc8bbfef 100755
--- a/packages/ckeditor5-dev-tests/bin/check-dependencies.js
+++ b/packages/ckeditor5-dev-tests/bin/check-dependencies.js
@@ -98,8 +98,9 @@ depCheck( packageDirectory, depCheckOptions )
console.log( chalk.red( 'Found some issue with dependencies.\n' ) );
if ( data[ 0 ] ) {
- console.log( chalk.yellow( 'Invalid itself imports:' ) );
+ console.log( chalk.yellow( 'Invalid itself imports found in:' ) );
console.log( data[ 0 ] + '\n' );
+ console.log( '🧾 Imports from local package must always use relative path.\n' );
}
if ( data[ 1 ] ) {