This repository has been archived by the owner on Dec 18, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This adds a `censor_cmd` method to the helpers modules, and modifies `run_cmd` and most callers of that to take a `secrets` array argument, the values of which will be censored in the log output. A basic test for `censor_cmd` is provided, but it is beyond my ken to do a proper test of the output from `run_cmd` in the tests.
- Loading branch information
Anthony Hersey
committed
Nov 9, 2018
1 parent
d5cd044
commit 3cf60b8
Showing
3 changed files
with
53 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters