Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

excluded_dirs_deps,excluded_dirs_api cannot access local variable #6

Open
1371030 opened this issue Jul 11, 2024 · 0 comments
Open

Comments

@1371030
Copy link

1371030 commented Jul 11, 2024

Do you want to search for API usage 是否要搜索API使用情況 (y/n): n
Do you want to search for dependencies 是否要搜索套件是否有在列表中 (y/n): y
Do you want to exclude certain directories for dependencies search 您是否要為套件搜索排除某些目錄 (y/n): n
Do you want to download privacy_info for dependencies 是否要下載套件的 privacy_info (y/n): n
Traceback (most recent call last):
File "/Users/admin/Documents/AppCode/imx365-ios-app/./update_privacy_info.py", line 455, in
main()
File "/Users/admin/Documents/AppCode/imx365-ios-app/./update_privacy_info.py", line 429, in main
found_patterns, found_deps, search_tracking_auth = search_files(args.directory, excluded_dirs_api, excluded_dirs_deps, search_apis, search_deps)
^^^^^^^^^^^^^^^^^
UnboundLocalError: cannot access local variable 'excluded_dirs_api' where it is not associated with a value

Do you want to search for API usage 是否要搜索API使用情況 (y/n): y
Do you want to exclude certain directories for API search 您是否要為API搜索排除某些目錄 (y/n): n
Do you want to search for dependencies 是否要搜索套件是否有在列表中 (y/n): n
Traceback (most recent call last):
File "/Users/admin/Documents/AppCode/imx365-ios-app/./update_privacy_info.py", line 455, in
main()
File "/Users/admin/Documents/AppCode/imx365-ios-app/./update_privacy_info.py", line 429, in main
found_patterns, found_deps, search_tracking_auth = search_files(args.directory, excluded_dirs_api, excluded_dirs_deps, search_apis, search_deps)
^^^^^^^^^^^^^^^^^^
UnboundLocalError: cannot access local variable 'excluded_dirs_deps' where it is not associated with a value

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant