Skip to content

Commit 9379439

Browse files
code changes - Removed all occurances of log.silly functional from code
Signed-off-by: Dheeraj Singh <[email protected]>
1 parent 6ec0938 commit 9379439

File tree

3 files changed

+0
-17
lines changed

3 files changed

+0
-17
lines changed

lib/third-party/arborist/lib/node.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ import util from "node:util";
3434
import nameFromFolder from "@npmcli/name-from-folder";
3535
import getPaths from "bin-links";
3636
import npa from "npm-package-arg";
37-
import log from "proc-log";
3837
import rpj from "read-package-json-fast";
3938
import semver from "semver";
4039
import { walkUp } from "walk-up-path";
@@ -1444,8 +1443,6 @@ class Node {
14441443
}
14451444
return false;
14461445
}
1447-
// This is an error condition. We can only get here if the new override set is in conflict with the existing.
1448-
log.silly("Conflicting override sets", this.name);
14491446
}
14501447

14511448
deleteEdgeIn(edge) {

lib/third-party/arborist/lib/override-set.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import npa from "npm-package-arg";
2-
import log from "proc-log";
32
import semver from "semver";
43

54
class OverrideSet {
@@ -206,9 +205,6 @@ class OverrideSet {
206205
return first;
207206
}
208207
}
209-
210-
// The override sets are incomparable. Neither one contains the other.
211-
log.silly("Conflicting override sets", first, second);
212208
}
213209

214210
static doOverrideSetsConflict(first, second) {

lib/third-party/arborist/lib/place-dep.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
// a result.
99

1010
import localeCompare from "@isaacs/string-locale-compare";
11-
import { redact } from "@npmcli/redact";
1211
import log from "proc-log";
1312

1413
import CanPlaceDep, { CONFLICT, KEEP } from "./can-place-dep.js";
@@ -183,15 +182,6 @@ class PlaceDep {
183182

184183
const { target } = this.canPlace;
185184

186-
log.silly(
187-
"placeDep",
188-
target.location || "ROOT",
189-
`${this.dep.name}@${this.dep.version}`,
190-
this.canPlace.description,
191-
`for: ${this.edge.from.package._id || this.edge.from.location}`,
192-
`want: ${redact(this.edge.spec || "*")}`,
193-
);
194-
195185
const placementType =
196186
this.canPlace.canPlace === CONFLICT
197187
? this.canPlace.canPlaceSelf

0 commit comments

Comments
 (0)