You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Check.js script fails if the sources-dist-*.json is invalid, even if it has been corrected at a later commit within the PR:
adapters filtered:
imap
---
SyntaxError: Unexpected string in JSON at position 49635
at JSON.parse (<anonymous>)
at detectChanges (/home/runner/work/ioBroker.repositories/ioBroker.repositories/lib/check.js:144:23)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async detectAffectedAdapter (/home/runner/work/ioBroker.repositories/ioBroker.repositories/lib/check.js:159:29)
at async doIt (/home/runner/work/ioBroker.repositories/ioBroker.repositories/lib/check.js:270:19)
I would suggest:
-) to add more infos to the exception, i.e. filename
-) log the data (if possible and usable - to be checked)
-) abort this co mit but continue with the next commit.
In general its NOT the job of check.js to verify the correct syntax of the sources-*.json files. There are other jobs doing this anyway. So it should nozt be a problem to skip this error / skip this commit.
(I can take care of this when time is available).
The text was updated successfully, but these errors were encountered:
Check.js script fails if the sources-dist-*.json is invalid, even if it has been corrected at a later commit within the PR:
I would suggest:
-) to add more infos to the exception, i.e. filename
-) log the data (if possible and usable - to be checked)
-) abort this co mit but continue with the next commit.
In general its NOT the job of check.js to verify the correct syntax of the sources-*.json files. There are other jobs doing this anyway. So it should nozt be a problem to skip this error / skip this commit.
(I can take care of this when time is available).
The text was updated successfully, but these errors were encountered: