Skip to content

Commit

Permalink
Aborting with empty signature set
Browse files Browse the repository at this point in the history
  • Loading branch information
alterakey committed Mar 9, 2024
1 parent 4624f10 commit 5e15cf2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions trueseeing/app/cmd/scan.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ async def _scan(self, args: deque[str]) -> None:
sigsels = self._get_sigsels(self._helper.get_modifiers(args))
scanner = Scanner(context, sigsels=sigsels, max_graph_size=limit)

if not scanner.get_active_signatures():
ui.fatal('no signature selected')

at = time.time()
with context.store().query().scoped() as q:
if cmd.endswith('!'):
Expand Down

0 comments on commit 5e15cf2

Please sign in to comment.