Skip to content

Commit f3d2377

Browse files
committed
Remove unused code
1 parent 6a0a179 commit f3d2377

1 file changed

Lines changed: 0 additions & 18 deletions

File tree

lib/utils/verify-signatures.js

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -364,24 +364,6 @@ class VerifySignatures {
364364
}
365365
}
366366

367-
maybeWorkspaceName (node) {
368-
if (!node.isWorkspace) {
369-
return node.name
370-
}
371-
372-
const humanOutput =
373-
!this.npm.config.get('json') && !this.npm.config.get('parseable')
374-
375-
const workspaceName =
376-
humanOutput
377-
? node.pkgid
378-
: node.name
379-
380-
return this.npm.color && humanOutput
381-
? chalk.green(workspaceName)
382-
: workspaceName
383-
}
384-
385367
humanOutput (list) {
386368
const invalidList = list.map(x => this.makePretty(x))
387369
const outHead = ['Package',

0 commit comments

Comments
 (0)