From ba768b5e92620d0c8b7d64498e4a2bef42b46281 Mon Sep 17 00:00:00 2001 From: ysdf_richard Date: Tue, 11 Nov 2025 18:25:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9maven=E9=85=8D=E7=BD=AE3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/auth.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/auth.ts b/src/auth.ts index e05d0d7..d562106 100644 --- a/src/auth.ts +++ b/src/auth.ts @@ -84,8 +84,8 @@ export function generate( server: [ { id: id, - username: username, - password: password + username: `${username}`, + password: `${password}` } ] } @@ -95,7 +95,7 @@ export function generate( if (gpgPassphrase) { const gpgServer = { id: 'gpg.passphrase', - passphrase: gpgPassphrase + passphrase: `${gpgPassphrase}` }; xmlObj.settings.servers.server.push(gpgServer); }