mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-06 01:53:56 -06:00
fix: check validate_pr platforms after git
This commit is contained in:
1 parent
c137d13621
commit
f63a84a746
1 file changed
+1
-1
@@ -799,7 +799,6 @@ def main() -> None:
|
||||
if os.path.realpath(os.getcwd()) != os.path.realpath(REPO_ROOT):
|
||||
args.files = [os.path.abspath(f) for f in args.files]
|
||||
work_from_repo_root(args, parser, ["db", "platforms_dir", "emulators_dir"])
|
||||
require_directory(args.platforms_dir, "--platforms-dir")
|
||||
|
||||
files = _files_to_validate(args, parser)
|
||||
if not files:
|
||||
@@ -808,6 +807,7 @@ def main() -> None:
|
||||
return
|
||||
|
||||
db = _load_database_if_any(args.db)
|
||||
require_directory(args.platforms_dir, "--platforms-dir")
|
||||
platform_hashes = load_platform_hashes(args.platforms_dir, db)
|
||||
profile_hashes = load_profile_hashes(args.emulators_dir, db)
|
||||
|
||||
|
||||
Reference in new issue
Block a user