(file, keyword, replace)
| 121 | |
| 122 | |
| 123 | def find_replace_file(file, keyword, replace): |
| 124 | with open(file) as f: |
| 125 | content = f.read() |
| 126 | new_content = find_replace_markdown(content, keyword, replace) |
| 127 | if new_content != content: |
| 128 | if "BBOT_TESTING" not in os.environ: |
| 129 | with open(file, "w") as f: |
| 130 | f.write(new_content) |
| 131 | |
| 132 | |
| 133 | def update_docs(): |
no test coverage detected
searching dependent graphs…