Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2c529ec

Browse files
committed
🔒 down circular dep test at 0️⃣
1 parent 204799c commit 2c529ec

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

tasks/test_syntax.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -260,12 +260,9 @@ function assertCircularDeps() {
260260
var circularDeps = res.circular();
261261
var logs = [];
262262

263-
// see https://github.com/plotly/plotly.js/milestone/9
264-
var MAX_ALLOWED_CIRCULAR_DEPS = 16;
265-
266-
if(circularDeps.length > MAX_ALLOWED_CIRCULAR_DEPS) {
263+
if(circularDeps.length) {
267264
console.log(circularDeps.join('\n'));
268-
logs.push('some new circular dependencies were added to src/');
265+
logs.push('some circular dependencies were found to src/');
269266
}
270267

271268
log('circular dependencies: ' + circularDeps.length, logs);

0 commit comments

Comments
 (0)