Skip to content

Commit 84b8847

Browse files
committed
fix: log message for generate participant credentials
1 parent c728091 commit 84b8847

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "pontus-x_cli",
33
"description": "Command Line Interface for the Pontus-X Data Space Ecosystem",
4-
"version": "1.0.1",
4+
"version": "1.0.2",
55
"author": "AgrospAI",
66
"bin": {
77
"pontus-x_cli": "bin/run.js"

src/lib/gaia-x_compliance/generate-credentials/index.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,11 +145,10 @@ export async function generateCredentials(
145145
participantData.issuance_date = new Date().toISOString()
146146
const didJson = JSON.parse(readFileSync(didjsonFile, 'utf8'))
147147
participantData.issuer_domain = didJson.id.slice(Math.max(0, didJson.id.lastIndexOf(':') + 1))
148-
console.log(`Asset DDO: ${ddo ? JSON.stringify(ddo, null, 2) : 'N/A'}`)
149148
console.log(
150-
`Generating Gaia-X credentials for ` + ddo
151-
? `asset ${ddo?.metadata?.name}`
152-
: `participant ${participantData.participant_legal_name} with issuer ${participantData.issuer_domain}`,
149+
`Generating Gaia-X credentials for ` +
150+
(ddo ? `asset ${ddo?.metadata?.name}` :
151+
`participant ${participantData.participant_legal_name} with issuer ${participantData.issuer_domain}...`)
153152
)
154153

155154
const pkcs1 = readFileSync(certificateKeyFile, 'utf8')

0 commit comments

Comments
 (0)