Skip to content

Commit 51ac647

Browse files
authored
Merge pull request #78 from scanoss/bug/mdaloia/fix-dependencies-result-parsing
bug: Fix dependencies scan result structure
2 parents 6e70949 + bb8dac1 commit 51ac647

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88
## [Unreleased]
99
### Added
1010
- Upcoming changes...
11+
12+
## [1.17.5] - 2024-11-12
13+
### Fixed
14+
- Fix dependencies scan result structure
1115

1216
## [1.17.4] - 2024-11-08
1317
### Fixed
@@ -388,4 +392,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
388392
[1.17.0]: https://github.com/scanoss/scanoss.py/compare/v1.16.0...v1.17.0
389393
[1.17.1]: https://github.com/scanoss/scanoss.py/compare/v1.17.0...v1.17.1
390394
[1.17.2]: https://github.com/scanoss/scanoss.py/compare/v1.17.1...v1.17.2
391-
[1.17.3]: https://github.com/scanoss/scanoss.py/compare/v1.17.2...v1.17.3
395+
[1.17.3]: https://github.com/scanoss/scanoss.py/compare/v1.17.2...v1.17.3
396+
[1.17.4]: https://github.com/scanoss/scanoss.py/compare/v1.17.3...v1.17.4
397+
[1.17.5]: https://github.com/scanoss/scanoss.py/compare/v1.17.4...v1.17.5

src/scanoss/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@
2222
THE SOFTWARE.
2323
"""
2424

25-
__version__ = "1.17.4"
25+
__version__ = '1.17.5'

src/scanoss/scanner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ def _merge_scan_results(
564564
for dep_file in dep_files:
565565
file = dep_file.pop("file", None)
566566
if file:
567-
results[file] = dep_file
567+
results[file] = [dep_file]
568568

569569
return results
570570

0 commit comments

Comments
 (0)