Skip to content

add null check#18

Merged
martinschaef merged 1 commit intoaws:mainfrom
martinschaef:bugfix
Apr 5, 2022
Merged

add null check#18
martinschaef merged 1 commit intoaws:mainfrom
martinschaef:bugfix

Conversation

@martinschaef
Copy link
Copy Markdown
Contributor

Description of changes:
Adding missing null-check for scans without build dirs.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@senguptaaritra
Copy link
Copy Markdown

Lgtm.

Copy link
Copy Markdown

@senguptaaritra senguptaaritra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm.

@martinschaef martinschaef merged commit 66be4ce into aws:main Apr 5, 2022
@martinschaef martinschaef deleted the bugfix branch April 5, 2022 21:31
buildPaths = main.buildDirs.stream()
.map(Paths::get).map(Path::toAbsolutePath).map(Path::normalize)
.collect(Collectors.toList());
} scanMetaData = ScanAdapter.startScan(config, gitMetaData, sourcePaths, buildPaths);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The whitespace is strange with this one.

Copy link
Copy Markdown
Contributor

@awsgaucho awsgaucho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix looks good. Whitespace looks odd.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants