forked from joernio/joern
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[joern-export] Handle Empty CPG (joernio#3897)
Upon exporting `Representation.Cpg`, an iterator based on methods is started, and then the result is reduced. If the iterator is empty, the reduce will throw an exception. This change instead returns an empty result. Resolves joernio#3892
- Loading branch information
1 parent
cdcaf26
commit 7685924
Showing
1 changed file
with
24 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters