We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34a68e4 commit 54c1250Copy full SHA for 54c1250
npm-app/release-staging/index.js
@@ -96,13 +96,10 @@ async function getLatestVersion() {
96
`https://registry.npmjs.org/${packageName}/latest`,
97
)
98
99
- console.log('asdf', { code: res.statusCode })
100
if (res.statusCode !== 200) return null
101
102
const body = await streamToString(res)
103
- console.log('asdf body', body)
104
const packageData = JSON.parse(body)
105
- console.log('asdf packageData', JSON.stringify(packageData, null, 2))
106
107
return packageData.version || null
108
} catch (error) {
0 commit comments