mirror of
https://github.com/rommapp/romm.git
synced 2026-03-03 02:27:00 +00:00
fix: trunk check
This commit is contained in:
@@ -20,25 +20,26 @@ lint:
|
||||
disabled:
|
||||
- pyright
|
||||
enabled:
|
||||
- hadolint@2.12.1-beta
|
||||
- markdownlint@0.45.0
|
||||
- eslint@9.30.1
|
||||
- eslint@9.31.0
|
||||
- actionlint@1.7.7
|
||||
- bandit@1.8.6
|
||||
- black@25.1.0
|
||||
- checkov@3.2.447
|
||||
- checkov@3.2.451
|
||||
- git-diff-check
|
||||
- isort@6.0.1
|
||||
- mypy@1.16.1
|
||||
- mypy@1.17.0
|
||||
- osv-scanner@2.0.3
|
||||
- oxipng@9.1.5
|
||||
- prettier@3.6.2
|
||||
- ruff@0.12.2
|
||||
- ruff@0.12.4
|
||||
- shellcheck@0.10.0
|
||||
- shfmt@3.6.0
|
||||
- svgo@4.0.0
|
||||
- taplo@0.9.3
|
||||
- trivy@0.64.1
|
||||
- trufflehog@3.89.2
|
||||
- trufflehog@3.90.1
|
||||
- yamllint@1.37.1
|
||||
ignore:
|
||||
- linters: [ALL]
|
||||
|
||||
@@ -31,8 +31,8 @@ class CleanupOrphanedResourcesTask:
|
||||
}
|
||||
log.debug(f"Found {len(existing_platforms)} platforms in database")
|
||||
|
||||
for platform_dir in os.listdir(roms_path):
|
||||
platform_path = os.path.join(roms_path, platform_dir)
|
||||
for platform_dir in os.listdir(roms_resources_path):
|
||||
platform_path = os.path.join(roms_resources_path, platform_dir)
|
||||
if not os.path.isdir(platform_path):
|
||||
continue
|
||||
|
||||
|
||||
Reference in New Issue
Block a user