@ibm-cloud/cd-tools 1.11.4 → 1.11.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Licensed Materials - Property of IBM
3
- * (c) Copyright IBM Corporation 2025. All Rights Reserved.
3
+ * (c) Copyright IBM Corporation 2025, 2026. All Rights Reserved.
4
4
  *
5
5
  * Note to U.S. Government Users Restricted Rights:
6
6
  * Use, duplication or disclosure restricted by GSA ADP Schedule
@@ -66,7 +66,7 @@ async function main(options) {
66
66
  toolchainData = await getToolchain(bearer, toolchainId, region);
67
67
  }
68
68
  await logger.withSpinner(getToolchainData, `Reading Toolchain`, 'Valid Toolchain found!');
69
- logger.print(`Name: ${toolchainData.name}\nRegion: ${region}\nResource Group ID: ${toolchainData.resource_group_id}\nURL:https://${CLOUD_PLATFORM}/devops/toolchains/${toolchainId}?env_id=ibm:yp:${region}\n`);
69
+ logger.print(`Name: ${toolchainData.name}\nRegion: ${region}\nResource Group ID: ${toolchainData.resource_group_id}\nURL: https://${CLOUD_PLATFORM}/devops/toolchains/${toolchainId}?env_id=ibm:yp:${region}\n`);
70
70
 
71
71
  // Check for plain-text secrets in all tools
72
72
  const exportSecrets = async () => {
@@ -256,7 +256,7 @@ async function main(options) {
256
256
  continue;
257
257
  }
258
258
 
259
- const smSecretName = await promptUserInput(`Enter the name of the secret to create [${secretPath}]: `, '', async (input) => {
259
+ const smSecretName = await promptUserInput(`Enter the name of the secret to create [${secretPath}]: `, secretPath, async (input) => {
260
260
  if (input.length < 2 || input.length > 256) {
261
261
  throw new Error('The secret name must be between 2 and 256 characters long.');
262
262
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ibm-cloud/cd-tools",
3
- "version": "1.11.4",
3
+ "version": "1.11.5",
4
4
  "description": "Tools and utilities for the IBM Cloud Continuous Delivery service and resources",
5
5
  "repository": {
6
6
  "type": "git",