mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-04-02 21:47:42 -05:00
Improve run config argument handling, should work with spaces a bit better. (#524)
This commit is contained in:
@@ -103,8 +103,8 @@ public class GenVsCodeProjectTask extends AbstractLoomTask {
|
||||
VsCodeConfiguration(RunConfig runConfig) {
|
||||
this.name = runConfig.configName;
|
||||
this.mainClass = runConfig.mainClass;
|
||||
this.vmArgs = runConfig.vmArgs;
|
||||
this.args = runConfig.programArgs;
|
||||
this.vmArgs = RunConfig.joinArguments(runConfig.vmArgs);
|
||||
this.args = RunConfig.joinArguments(runConfig.programArgs);
|
||||
this.cwd = "${workspaceFolder}/" + runConfig.runDir;
|
||||
|
||||
if (getProject().getRootProject() != getProject()) {
|
||||
|
||||
Reference in New Issue
Block a user