-
Notifications
You must be signed in to change notification settings - Fork 78
LPD-24481 NoSuchFileException error if blade init is used in a sub-directory of a workspace #372
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
base: master
Are you sure you want to change the base?
Conversation
drewbrokke
left a comment
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.
@anthony-chu overall looking good, just a couple comments here.
| BladeTestResults bladeTestResults = TestUtil.runBlade( | ||
| baseDir, _extensionsDir, false, args2.toArray(new String[0])); | ||
|
|
||
| File workspaceDir2 = new File(baseDir.getPath() + File.separator + workspaceName2); |
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.
I'm a bit confused about the relationship between the workspaceName parameter, workspaceName1 var, and workspaceName2 var. Is there a way we can make this a little clearer?
| bladeTestResults.getErrors( | ||
| ).contains( | ||
| "blade does not support initializing a workspace inside of another workspace." | ||
| )); |
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.
SF: let's avoid chaining here.
https://liferay.atlassian.net/browse/LPD-24481