File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ The go sdk supports automated code cleanup using the Flag Cleanup drone plugin.
7
7
8
8
``` make flag_cleanup_demo ```
9
9
10
- or by running the docker command directly:
10
+ or by running the docker command directly from the root folder of this repository :
11
11
12
- ``` docker run -v ${CURDIR }:/go-sdk -e PLUGIN_DEBUG=true -e PLUGIN_PATH_TO_CODEBASE="/go-sdk/examples/code_cleanup" -e PLUGIN_PATH_TO_CONFIGURATIONS="/go-sdk/examples/code_cleanup/config" -e PLUGIN_LANGUAGE="go" -e PLUGIN_SUBSTITUTIONS="stale_flag_name=harnessappdemodarkmode,treated=true" harness/flag_cleanup:latest ```
12
+ ``` docker run -v ${PWD }:/go-sdk -e PLUGIN_DEBUG=true -e PLUGIN_PATH_TO_CODEBASE="/go-sdk/examples/code_cleanup" -e PLUGIN_PATH_TO_CONFIGURATIONS="/go-sdk/examples/code_cleanup/config" -e PLUGIN_LANGUAGE="go" -e PLUGIN_SUBSTITUTIONS="stale_flag_name=harnessappdemodarkmode,treated=true" harness/flag_cleanup:latest ```
13
13
14
14
3 . Observe that the ` if else ` block has been removed from the code and the flag is now treated as globally true.
You can’t perform that action at this time.
0 commit comments