Skip to content

Commit

Permalink
Merge branch 'master' into fix-allow-sync
Browse files Browse the repository at this point in the history
  • Loading branch information
hezhengxu2018 committed Jun 20, 2023
2 parents 78be4f0 + 110fdae commit 7828dc9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/port/controller/package/DownloadPackageVersionTar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ export class DownloadPackageVersionTarController extends AbstractController {
method: HTTPMethodEnum.GET,
})
async download(@Context() ctx: EggContext, @HTTPParam() fullname: string, @HTTPParam() filenameWithVersion: string) {
// can not try nfs url first, pnpm project with lock will try to get tgz file path directly.
// tgz file storeKey: `/packages/${this.fullname}/${version}/${filename}`
const version = this.getAndCheckVersionFromFilename(ctx, fullname, filenameWithVersion);
const storeKey = `/packages/${fullname}/${version}/${filenameWithVersion}.tgz`;
Expand Down

0 comments on commit 7828dc9

Please sign in to comment.