Skip to content

Commit

Permalink
Fix: Include File path in Function exports
Browse files Browse the repository at this point in the history
  • Loading branch information
dabico authored Jan 15, 2024
1 parent f5648c7 commit a43aa12
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,13 @@ public class Function extends Code {
@JsonProperty(value = "boilerplate_type")
Boilerplate boilerplateType;

@JsonProperty(value = "file_path")
String getFilePath() {
return file != null
? file.getPath()
: null;
}

@Override
public boolean equals(Object o) {
if (this == o) return true;
Expand Down

0 comments on commit a43aa12

Please sign in to comment.