feat(cellular, power): enable SDM660 IPA v2.6L 4G LTE, power-key status screen, and DVFS standby
Offline project checks / check (push) Canceled after 0s
Offline project checks / check (push) Canceled after 0s
This commit is contained in:
+3
-1
@@ -144,7 +144,9 @@ def check():
|
||||
raise ValueError('Profile version differs from recipe: ' + package)
|
||||
if (ROOT / '.git').is_dir():
|
||||
tracked = subprocess.check_output(['git', 'ls-files', '-z'], cwd=ROOT).decode().split('\0')
|
||||
allowed = {str(p.relative_to(ROOT)) for p in candidates} | {'PLAN.md'}
|
||||
release_files = ({str(p.relative_to(ROOT)) for p in (ROOT / 'release').rglob('*')
|
||||
if p.is_file()} if (ROOT / 'release').is_dir() else set())
|
||||
allowed = {str(p.relative_to(ROOT)) for p in candidates} | {'PLAN.md'} | release_files
|
||||
if any(name and name not in allowed for name in tracked):
|
||||
raise ValueError('Unexpected tracked path; review Git index')
|
||||
run(['git', 'diff', '--check'])
|
||||
|
||||
Reference in New Issue
Block a user