mirror of
https://github.com/github/spec-kit.git
synced 2026-07-03 12:28:06 +08:00
Potential fix for pull request finding 'Empty except'
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
This commit is contained in:
@@ -4354,7 +4354,8 @@ def extension_update(
|
||||
with f:
|
||||
manifest_data = yaml.safe_load(f.read()) or {}
|
||||
except KeyError:
|
||||
pass
|
||||
# extension.yml not present at archive root; use nested fallback below.
|
||||
manifest_data = None
|
||||
# Fall back to nested-directory search if root-level
|
||||
# was missing (KeyError) or not a regular file (None).
|
||||
if manifest_data is None:
|
||||
|
||||
Reference in New Issue
Block a user