mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-04 22:40:29 +03:00
scanner: disallow wasm file
This commit is contained in:
parent
e137aa9c44
commit
56d5f360ed
1 changed files with 7 additions and 0 deletions
|
|
@ -994,6 +994,13 @@ def scan_source(build_dir, build=metadata.Build(), json_per_build=None):
|
|||
count += handleproblem(
|
||||
_('Java JAR file'), path_in_build_dir, filepath, json_per_build
|
||||
)
|
||||
elif curfile.endswith('.wasm'):
|
||||
count += handleproblem(
|
||||
_('WebAssembly binary file'),
|
||||
path_in_build_dir,
|
||||
filepath,
|
||||
json_per_build,
|
||||
)
|
||||
|
||||
elif curfile.endswith('.java'):
|
||||
if not os.path.isfile(filepath):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue