Skip to content

Commit b680bc2

Browse files
author
makzef
committed
686: fix uct upgrade command related to module path
1 parent 7394739 commit b680bc2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/com/magento/idea/magento2uct/execution/configurations/UctRunConfiguration.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -263,14 +263,12 @@ public boolean isNewlyCreated() {
263263
commandSettingsBuilder.addArgument("--coming-version=" + getComingVersion());
264264
}
265265

266-
commandSettingsBuilder.addArgument(getProjectRoot());
267-
268266
final GeneralCommandLine commandLine =
269267
commandSettingsBuilder.createGeneralCommandLine();
270268

271269
if (!getModulePath().isEmpty()) {
272270
if (UctModulePathValidatorUtil.validate(getModulePath())) {
273-
commandLine.addParameter("--module-path=".concat(getModulePath()));
271+
commandLine.addParameter(getModulePath());
274272
} else {
275273
throw new ExecutionException("The path to analyse is not valid");
276274
}

0 commit comments

Comments
 (0)