mirror of
https://github.com/got-feedBack/feedBack.git
synced 2026-09-10 23:24:30 +00:00
refactor/rigs-loader-uses-path-helper
#1039 collapsed seven copies of the manifest-path containment guard into `_resolve_pack_path`, and #1040 added an eighth loader carrying its own copy. Both were correct against the base they were written on and both merged in the right order, but #1040 went in without the rebase that would have joined them — so `_load_rigs_file` is now the one loader in this file still open-coding the guard. Route it through the helper like its seven siblings. Same behaviour, same rendered log message ("sloppak: rigs path %r escapes source_dir — skipped"), verified by triggering a traversal against the new path. Full suite unchanged at 2796 passed / 4 skipped. This is the follow-up promised in #1040's description. Signed-off-by: gionnibgud <gionnibgud@gmail.com>
Languages
JavaScript
56.4%
Python
37.1%
HTML
3.2%
CSS
1.2%
TypeScript
1.1%
Other
1%