update three dep. increase debug level for dep debug
This commit is contained in:
parent
6485e54280
commit
6c3c379495
2 changed files with 3 additions and 3 deletions
4
app.js
4
app.js
|
|
@ -53,7 +53,7 @@ function init(mod) {
|
|||
return cached;
|
||||
}
|
||||
if (seen.indexOf(path) >= 0) {
|
||||
if (debug) {
|
||||
if (debug > 1) {
|
||||
console.log(`circular dependency at ${path}`, seen);
|
||||
}
|
||||
return [];
|
||||
|
|
@ -108,7 +108,7 @@ function init(mod) {
|
|||
}
|
||||
// if list is modified, substitute
|
||||
if (modd) {
|
||||
if (debug) {
|
||||
if (debug > 1) {
|
||||
console.log({path, val, nval});
|
||||
}
|
||||
val = nval;
|
||||
|
|
|
|||
Loading…
Reference in a new issue