update three dep. increase debug level for dep debug

This commit is contained in:
Stewart Allen 2022-01-27 12:42:06 -05:00
commit 6c3c379495
2 changed files with 3 additions and 3 deletions

4
app.js
View file

@ -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;