-
Notifications
You must be signed in to change notification settings - Fork 161
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
Do clean up in case the shrink-wrap versions are different #6001
Conversation
} | ||
|
||
private String getShrinkWrapVersion(JsonObject packageJson) | ||
throws IOException { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
private void cleanUp() throws IOException { | ||
File packageLock = getPackageLock(); | ||
if (packageLock.exists()) { | ||
if (!packageLock.delete()) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 3 of 3 files at r1.
Reviewable status: 3 unresolved discussions, 0 of 1 LGTMs obtained (waiting on @denis-anisimov)
flow-server/src/main/java/com/vaadin/flow/server/frontend/TaskUpdatePackages.java, line 125 at r1 (raw file):
} private void ensureReleaseVersion(JsonObject dependencies)
I am unable to build flow, but the code looks good.
The only addition I'd like is a comment on this function explaining what it does and which files are potentially affected.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 3 unresolved discussions, 0 of 1 LGTMs obtained (waiting on @denis-anisimov and @ujoni)
flow-server/src/main/java/com/vaadin/flow/server/frontend/TaskUpdatePackages.java, line 125 at r1 (raw file):
Previously, ujoni (Joni) wrote…
I am unable to build flow, but the code looks good.
The only addition I'd like is a comment on this function explaining what it does and which files are potentially affected.
Done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 1 of 1 files at r2.
Reviewable status: 2 unresolved discussions, 1 of 1 LGTMs obtained (waiting on @denis-anisimov)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dismissed @vaadin-bot from 2 discussions.
Reviewable status: complete! all discussions resolved, 1 of 1 LGTMs obtained
Fixes #5967
This change is