Skip to content

Commit

Permalink
fix project path
Browse files Browse the repository at this point in the history
  • Loading branch information
krwong committed Aug 29, 2024
1 parent 60bd504 commit 0c2e900
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public JsonNode listProjects(Path directory) throws Exception {
try {
MigrationProject project = initializeProject(file.toPath());

Path projectPath = directory.toAbsolutePath();
Path projectPath = file.toPath().toAbsolutePath();
String projectStatus = status(project);
ArrayNode allowedActions = mapper.valueToTree(allowedActions(project));
JsonNode projectProperties = mapper.readTree(project.getProjectPropertiesPath().toFile());
Expand Down

0 comments on commit 0c2e900

Please sign in to comment.