V15: Block package should not import from itself (#18902)
* fix: avoids circular dependencies by realising the 'block' package was importing from itself * chore: lowers requirement to 9 after fixes * chore: removes unused file
This commit is contained in:
@@ -52,7 +52,7 @@ if (circular.length) {
|
||||
*/
|
||||
|
||||
// TODO: Remove this check and set an exit with argument 1 when we have fixed all circular dependencies.
|
||||
if (circular.length > 11) {
|
||||
if (circular.length > 9) {
|
||||
process.exit(1);
|
||||
} else {
|
||||
process.exit(0);
|
||||
|
||||
Reference in New Issue
Block a user