Skip to content

undefined method `+' for nil:NilClass (NoMethodError) #3

@hayate

Description

@hayate
/usr/src/app/app/services/service/yarn_lockfile/parse.rb:28:in `find_line_number': undefined method `+' for nil:NilClass (NoMethodError)
	from /usr/src/app/app/services/service/yarn_lockfile/parse.rb:11:in `block in call'
	from /usr/src/app/app/services/service/yarn_lockfile/parse.rb:5:in `each'
	from /usr/src/app/app/services/service/yarn_lockfile/parse.rb:5:in `map'
	from /usr/src/app/app/services/service/yarn_lockfile/parse.rb:5:in `call'
	from /usr/src/app/lib/micro_service.rb:10:in `call'
	from /usr/src/app/app/services/service/yarn_lockfile/scan.rb:9:in `library_identifiers'
	from /usr/src/app/app/services/service/scan_manifest_base.rb:7:in `call'
	from /usr/src/app/app/services/service/yarn_lockfile/scan.rb:4:in `call'
	from /usr/src/app/lib/micro_service.rb:10:in `call'
	from /usr/src/app/app/services/service/scan_project.rb:21:in `call'
	from /usr/src/app/lib/micro_service.rb:10:in `call'
	from /usr/src/app/bin/git-legal-cc-scan:6:in `<main>'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions