Skip to content

Commit

Permalink
Update debugging output for technical currency
Browse files Browse the repository at this point in the history
Signed-off-by: Timothy Johnson <[email protected]>
  • Loading branch information
t1m0thyj committed Mar 22, 2024
1 parent 82e667a commit 3186db5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions packages/imperative/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to the Imperative package will be documented in this file.

## Recent Changes

- BugFix: Updated debugging output for technical currency. [#2098](https://github.com/zowe/zowe-cli/pull/2098)

## `5.22.5`

- BugFix: Fixed issue where the `ProfileInfo.addProfileTypeToSchema` function did not update the global schema if a project-level configuration was detected. [#2086](https://github.com/zowe/zowe-cli/issues/2086)
Expand Down
6 changes: 4 additions & 2 deletions packages/imperative/src/cmd/src/CommandProcessor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -822,7 +822,9 @@ export class CommandProcessor {
combinedProfiles.forEach((profile) => {
const name = ConfigUtils.getActiveProfileName(profile, commandParameters.arguments); // get profile name
const props = this.mConfig.api.secure.securePropsForProfile(name); // get secure props
configSecureProps.push(...props); // add to list
for (const propName of props) {
configSecureProps.push(...Object.values(CliUtils.getOptionFormat(propName))); // add multiple cases to list

Check warning on line 826 in packages/imperative/src/cmd/src/CommandProcessor.ts

View check run for this annotation

Codecov / codecov/patch

packages/imperative/src/cmd/src/CommandProcessor.ts#L826

Added line #L826 was not covered by tests
}
});
}

Expand Down Expand Up @@ -859,7 +861,7 @@ export class CommandProcessor {
* Add profile location info
*/
if (useConfig) {
this.mConfig.mLayers.forEach((layer) => {
this.mConfig?.layers.forEach((layer) => {
if (layer.exists) {
showInputsOnly.locations.push(layer.path);
}
Expand Down

0 comments on commit 3186db5

Please sign in to comment.