Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removes unnecessary check that actually breaks legitimate builds. #73

Merged
merged 4 commits into from
Feb 8, 2018

Conversation

coollog
Copy link
Contributor

@coollog coollog commented Feb 7, 2018

Fixes #72

@coollog coollog added this to the 0.1.1 milestone Feb 7, 2018
@coollog coollog requested a review from loosebazooka February 7, 2018 21:44
@@ -43,10 +43,6 @@ static LayerMetadata from(List<Path> sourceFiles, FileTime lastModifiedTime) {
private final FileTime lastModifiedTime;

LayerMetadata(List<String> sourceFiles, FileTime lastModifiedTime) {
if (sourceFiles.isEmpty()) {
Copy link
Member

Choose a reason for hiding this comment

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

Would allow possibly invalid apps through? All resources, no source? I mean I guess we don't need to care if the user is being insane.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, it would allow that, though I think our guarantee could be that the application runs in the container like it would locally.

@coollog coollog merged commit 380ddb5 into master Feb 8, 2018
@coollog coollog deleted the fix-empty-resources branch February 8, 2018 18:23
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.

2 participants