Skip to content

Commit

Permalink
fix: resolve sonarcube issues
Browse files Browse the repository at this point in the history
  • Loading branch information
bramstroker committed Sep 14, 2024
1 parent 2cc157a commit 6d6570b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/library_downloader/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ app.get(
const modifiedPath = item.path.substring(path.length + 1);
return [{ path: modifiedPath, url: item.download_url ?? "" }];
} else if (item.type === "symlink") {
const target = (item as any).target
const target = item.target
return await fetchContents(target.replace("../", repository.path + "/"))
} else if (item.type === "dir") {
const newPath = `${path}/${item.name}`;
Expand Down

0 comments on commit 6d6570b

Please sign in to comment.