From c2fd4b8362f51b1fcdb27ebe0fe65cda5b9a879f Mon Sep 17 00:00:00 2001 From: fengmk2 Date: Fri, 10 Feb 2023 00:01:22 +0800 Subject: [PATCH] fix: should sync package deps by default --- app/common/adapter/NPMRegistry.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/common/adapter/NPMRegistry.ts b/app/common/adapter/NPMRegistry.ts index 8a9786f5..1d8c9012 100644 --- a/app/common/adapter/NPMRegistry.ts +++ b/app/common/adapter/NPMRegistry.ts @@ -66,7 +66,7 @@ export class NPMRegistry { // app.put('/:name/sync', sync.sync); public async createSyncTask(fullname: string): Promise { - const url = `${this.registry}/${encodeURIComponent(fullname)}/sync?sync_upstream=true&nodeps=true`; + const url = `${this.registry}/${encodeURIComponent(fullname)}/sync?sync_upstream=true`; // { // ok: true, // logId: logId