Skip to content

Commit db3eb94

Browse files
committed
Update comment and add newline
1 parent 67809b2 commit db3eb94

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

scripts/helpers/versioning.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,4 +75,4 @@ module.exports = {
7575
npmView,
7676
loadInstFile,
7777
getInternals
78-
}
78+
}

scripts/outdated.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ async function getHighestCompatibleVersion (name) {
9292
return pinnedVersion
9393
}
9494

95-
// Get all distribution tags (including 'latest')
95+
// ideally we can just use `latest` tag, but a few use `next`
9696
const distTags = await npmView(`${name} dist-tags`)
9797

9898
// Get the latest tagged version
@@ -128,14 +128,10 @@ async function getHighestCompatibleVersion (name) {
128128
}
129129
}
130130

131-
/**
132-
* Updates latests.json with the current latest versions from npm
133-
*/
134131
async function fix () {
135132
console.log('Starting fix operation...')
136133
console.log(`Found ${internalsNames.length} packages to process`)
137134

138-
// Process packages
139135
const latests = {}
140136
let processed = 0
141137
const total = internalsNames.length

0 commit comments

Comments
 (0)