Skip to content

Commit 6fbbdfc

Browse files
author
Ethan Lee
committed
Fix tuple error when drawing graph
Signed-off-by: Ethan Lee <[email protected]>
1 parent 705bc50 commit 6fbbdfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fosslight_dependency/run_dependency_scanner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ def run_dependency_scanner(package_manager='', input_dir='', output_dir_file='',
249249
node_count_threshold = 20
250250
node_count = len(scan_item.file_items[_PKG_NAME])
251251
if node_count > node_count_threshold:
252-
new_size = tuple(x + (node_count * growth_factor_per_node) for x in new_size)
252+
new_size = tuple(x + (node_count * growth_factor_per_node) for x in graph_size)
253253
else:
254254
new_size = graph_size
255255
new_size = tuple((((x + 99) // 100) * 100) for x in new_size)

0 commit comments

Comments
 (0)