[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot]
2026-04-16 09:31:23 +00:00
committed by GitHub
parent 62d25cbffb
commit 04472cbd58

View File

@ -134,7 +134,7 @@ class Storage:
if not self._path_prefix:
return results
prefix_with_slash = self._path_prefix + "/"
return [r[len(prefix_with_slash):] if r.startswith(prefix_with_slash) else r for r in results]
return [r.removeprefix(prefix_with_slash) for r in results]
storage = Storage()