| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 2212c63 commit b324c83
3 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -491,14 +491,6 @@ | |||
| 491 | 491 | "lineCount": 1 | |
| 492 | 492 | } | |
| 493 | 493 | }, | |
| 494 | - { | ||
| 495 | - "code": "reportPossiblyUnboundVariable", | ||
| 496 | - "range": { | ||
| 497 | - "startColumn": 15, | ||
| 498 | - "endColumn": 20, | ||
| 499 | - "lineCount": 1 | ||
| 500 | - } | ||
| 501 | - }, | ||
| 502 | 494 | { | |
| 503 | 495 | "code": "reportArgumentType", | |
| 504 | 496 | "range": { | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -747,9 +747,7 @@ def update( | |||
| 747 | 747 | prefix = "DRY-RUN: " | |
| 748 | 748 | # END handle prefix | |
| 749 | 749 | ||
| 750 | - # To keep things plausible in dry-run mode. | ||
| 751 | - if dry_run: | ||
| 752 | - mrepo = None | ||
| 750 | + mrepo = None | ||
| 753 | 751 | # END init mrepo | |
| 754 | 752 | ||
| 755 | 753 | def fetch_remotes(module_repo: "Repo") -> None: | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -994,6 +994,8 @@ def test_root_update_keeps_going_after_invalid_submodule_name(self, rwdir): | |||
| 994 | 994 | assert not clone.submodule("../invalid").module_exists() | |
| 995 | 995 | assert clone.submodule("valid").module_exists() | |
| 996 | 996 | ||
| 997 | + clone.submodule("../invalid").update(recursive=True, keep_going=True) | ||
| 998 | + | ||
| 997 | 999 | @with_rw_directory | |
| 998 | 1000 | @_patch_git_config("protocol.file.allow", "always") | |
| 999 | 1001 | def test_list_only_valid_submodules(self, rwdir): | |
| Back | FazBrowse Home | New Git URL |
0 commit comments