Skip to content

Commit

Permalink
Merge 0be409d into a65da3b
Browse files Browse the repository at this point in the history
  • Loading branch information
ning-sy210 committed Oct 23, 2019
2 parents a65da3b + 0be409d commit 48b996b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/com/dukeacademy/MainApp.java
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ private ProgramSubmissionLogicManager initProgramSubmissionLogic(ReadOnlyUserPre
logger.info("============================ [ Initializing program submission logic ] "
+ "=============================");
try {
String outputPath = userPrefs.getTestExecutorOutputPath().toUri().getPath();
String outputPath = userPrefs.getTestExecutorOutputPath().toString();
return new ProgramSubmissionLogicManager(outputPath);
} catch (LogicCreationException e) {
return null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public ProgramSubmissionLogicManager(String outputDirectoryPath) throws LogicCre
}

try {
String compilerEnvironmentPath = Paths.get(outputDirectoryPath).resolve("temp").toUri().getPath();
String compilerEnvironmentPath = Paths.get(outputDirectoryPath).resolve("temp").toString();
this.compilerEnvironment = new StandardCompilerEnvironment(compilerEnvironmentPath);
this.testExecutor = new TestExecutor(this.compilerEnvironment, new StandardCompiler(),
new StandardProgramExecutor());
Expand Down

0 comments on commit 48b996b

Please sign in to comment.