File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
packages/monorepo-tools/src Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import { getNpmTokenList } from './utils/get-npm-token-list';
1414
1515async function main ( ) {
1616 try {
17- const requirements = await getNpmTokenList ( ) ;
17+ const { scopes , packages } = await getNpmTokenList ( ) ;
1818
1919 console . log (
2020 'Open an IAMSEC ticket with https://jira.mongodb.org/plugins/servlet/desk/portal/81/create/1380' ,
@@ -28,17 +28,17 @@ async function main() {
2828 ) ;
2929
3030 console . log ( 'Following Scopes:' ) ;
31- if ( requirements . scopes . length > 0 ) {
32- requirements . scopes . forEach ( ( scope ) => {
31+ if ( scopes . length > 0 ) {
32+ scopes . forEach ( ( scope ) => {
3333 console . log ( scope ) ;
3434 } ) ;
3535 } else {
3636 console . log ( '(none)' ) ;
3737 }
3838
3939 console . log ( '\nFollowing Packages:' ) ;
40- if ( requirements . packages . length > 0 ) {
41- requirements . packages . forEach ( ( pkg ) => {
40+ if ( packages . length > 0 ) {
41+ packages . forEach ( ( pkg ) => {
4242 console . log ( pkg ) ;
4343 } ) ;
4444 } else {
You can’t perform that action at this time.
0 commit comments