File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -92,9 +92,7 @@ function httpGet(url, options = {}) {
9292
9393async function getLatestLegacyVersion ( ) {
9494 try {
95- const res = await httpGet (
96- `https://registry.npmjs.org/${ packageName } /legacy` ,
97- )
95+ const res = await httpGet ( `https://registry.npmjs.org/codebuff/legacy` )
9896
9997 if ( res . statusCode !== 200 ) return null
10098
Original file line number Diff line number Diff line change @@ -92,9 +92,7 @@ function httpGet(url, options = {}) {
9292
9393async function getLatestVersion ( ) {
9494 try {
95- const res = await httpGet (
96- `https://registry.npmjs.org/${ packageName } /latest` ,
97- )
95+ const res = await httpGet ( `https://registry.npmjs.org/codebuff/latest` )
9896
9997 if ( res . statusCode !== 200 ) return null
10098
You can’t perform that action at this time.
0 commit comments