Skip to content
This repository was archived by the owner on Oct 16, 2020. It is now read-only.

Commit 2286536

Browse files
committed
Remove duplicate logs
1 parent 2af2a85 commit 2286536

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/packages.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,9 @@ export class PackageManager extends EventEmitter implements Disposable {
113113
// Don't override existing content with undefined
114114
if (parsed || !this.packages.get(uri)) {
115115
this.packages.set(uri, parsed);
116+
this.logger.log(`Found package ${uri}`);
116117
this.emit('parsed', uri, parsed);
117118
}
118-
this.logger.log(`Found package ${uri}`);
119119
// If the current root package.json is further nested than this one, replace it
120120
const level = parts.pathname.split('/').length;
121121
if (level < rootPackageJsonLevel) {

0 commit comments

Comments
 (0)