Skip to content

Commit

Permalink
Update index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
canisminor1990 authored Jan 25, 2024
1 parent beeba50 commit 0d7f56c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,9 @@ const run = async () => {

consola.success(`Synced ${path}`);

const domain = manifestJson.legal_info_url || manifest;

return {
author: author || getAuthor(domain),
homepage: homepage || manifestJson.legal_info_url || getDomainFromUrl(domain),
author: author || getAuthor(manifest),
homepage: homepage || getDomainFromUrl(manifest),
identifier: manifestJson.name_for_model,
manifest: urlJoin(BASE_URL, path, 'manifest.json'),
meta: {
Expand Down

0 comments on commit 0d7f56c

Please sign in to comment.