Skip to content

Commit

Permalink
fix: show sensitive info warning on env display
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonnalley committed Sep 29, 2021
1 parent b675450 commit ebb401f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"dependencies": {
"@oclif/core": "^0.5.41",
"@salesforce/core": "3.6.2",
"@salesforce/sf-plugins-core": "^0.0.27",
"@salesforce/sf-plugins-core": "^0.0.28",
"change-case": "^4.1.2",
"cli-ux": "^5.6.3",
"open": "^8.2.0",
Expand Down
1 change: 1 addition & 0 deletions src/commands/env/display.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ export default class EnvDisplay extends SfCommand<JsonObject> {
key: toKey(key, result.keys),
value: toValue(value),
}));
this.logSensitive();
cli.table(tableData, columns);
}
} catch (error) {
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1214,10 +1214,10 @@
cli-ux "^5.6.3"
inquirer "^8.1.1"

"@salesforce/sf-plugins-core@^0.0.27":
version "0.0.27"
resolved "https://registry.npmjs.org/@salesforce/sf-plugins-core/-/sf-plugins-core-0.0.27.tgz#41a2d8d6c0f6ba1c46d6c23ff546b1ae0c2404e7"
integrity sha512-FpIyIDB46WWWAEVo+y4uGrKfugtLXq6+Gmli21l40f+J166rCvE8yszF+0nvD8V9xGw3By0XEkwMC6fTseYqKw==
"@salesforce/sf-plugins-core@^0.0.28":
version "0.0.28"
resolved "https://registry.npmjs.org/@salesforce/sf-plugins-core/-/sf-plugins-core-0.0.28.tgz#8bdff4661c0cead311ce1875b806012b6aa302f8"
integrity sha512-y9v71Q1160yGnB7vVS+L2zgH+STEaqzRyFtI+7qAlvixDGFTpVcBMcVpFovS/ZXP36C5puAgajqy476O2Bfndw==
dependencies:
"@oclif/core" "^0.5.41"
"@salesforce/core" "^3.6.2"
Expand Down

0 comments on commit ebb401f

Please sign in to comment.